Bug 1179609
Summary: | ring queue disables LVQ | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Pavel Moravec <pmoravec> |
Component: | qpid-cpp | Assignee: | Gordon Sim <gsim> |
Status: | CLOSED ERRATA | QA Contact: | Matej Lesko <mlesko> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | esammons, gsim, iboverma, jross, mlesko, zkraus |
Target Milestone: | 3.1 | Keywords: | Regression, TestCaseProvided |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | qpid-cpp-0.30-6 | Doc Type: | Bug Fix |
Doc Text: |
It was discovered that the 'ring' policy and a 'last value queue' queue type were implemented as incompatible options. Selecting the ring policy meant the last value queue type request was effectively ignored, and messages with a given key did not replace older messages on the queue with the same key. Special handling is now added, which now correctly handles the two different behaviours on the same queue. A ring policy on a last value queue now behaves as expected. Messages with the same key replace each other on the queue, and the ring policy now correctly limits the maximum depth of the queue.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-14 13:48:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pavel Moravec
2015-01-07 08:17:05 UTC
In case the change is intentional / lvq+ring is not supposed to be working, broker should deny such queue create request, to prevent false positive user experience. Fixed upstream by: https://svn.apache.org/r1650196 (Note: the ring queue discard if required happens before enqueue, the lvq replacement after it, so where the number of unique keys is less than the ring size, a new message may cause an old message to be discarded even though the new message would in fact replace some other message). However this is considered to be acceptable since both behaviours are arguably honoured, even if the ring discard is not strictly logically necessary) Gordon, can you please briefly describe the expected behaviour after fix? Thank you. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-0805.html |