Red Hat Bugzilla – Bug 999499
release does not reset active cursors on priority queues
Last modified: 2015-01-21 07:56:32 EST
Created attachment 788840 [details]
a simple reproducer
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. put a message in a priority queue
2. create a receiver from that queue
3. fetch the message then release
4. try to fetch it again
Subsequent fetch() attempts on released message fail.
Subsequent fetch() attempts on released message return the released message.
Using attached reproducer, the bug is that the test stops after fetching the message once. When fixed it continues in a loop refetching the same released message. Upstream fix also includes a simple (similar) test case.
Fixed upstream: https://svn.apache.org/r1515793. Note this would be a regression from previous MRG releases.
Backported to 0.22-mrg branch here: http://git.app.eng.bos.redhat.com/?p=rh-qpid.git;a=shortlog;h=refs/heads/0.22-mrg-BZ999499
Tested on RHEL 6 i686 && x86_64 with following packaged:
works as expected.