Bug 456667 - Count and size maintained for queue policy become inaccurate with requeued messages
Count and size maintained for queue policy become inaccurate with requeued me...
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp (Show other bugs)
All Linux
urgent Severity medium
: 1.0.1
: ---
Assigned To: Gordon Sim
Kim van der Riet
Depends On:
Blocks: 459258
  Show dependency treegraph
Reported: 2008-07-25 09:33 EDT by Gordon Sim
Modified: 2008-10-06 15:08 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-10-06 15:08:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gordon Sim 2008-07-25 09:33:30 EDT
The count and size of the queue currently mirrors the in-memory queue and does
not include unacked messages. Requeuing messages doesn't update the count however.

Correct logic is for unacked messages to still be considered on the queue for
the purposes of the policy until they are actually logically dequeued.
Comment 1 Gordon Sim 2008-07-25 09:51:13 EDT
Fixed in r679801 on qpid.0-10 and r679805 on trunk.
Comment 3 Frantisek Reznicek 2008-09-11 05:20:19 EDT
RHTS test MRG_Messaging/qpid_queue_policy_bz452141_bz456667 proves that queue
policies (queue max message count and queue byte size) are implemented and
working fine on requeued messages. (ON_QA->VERIFIED)
Comment 5 errata-xmlrpc 2008-10-06 15:08:17 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.