Created attachment 425960 [details] Code Sample Description of problem: We created a queue which is exclusive, auto-delete, and has an alternate exchange. We then acquired a message from the queue and cancel/killed the subscription. In both cases the non-acquired messages were sent to the alternate exchange but the acquired messages were not. Version-Release number of selected component (if applicable): 829175 How reproducible: Code to reproduce included Steps to Reproduce: #1: qpidd -p 10001 --no-data-dir #2: ./setup #3: ./send #4: Use qpid-tool to read the msgDepth of q2. It only has 9 messages although we sent 10. Actual results: 9 messages go through alternate exchange. Expected results: All (10) messages go through alternate exchange. Additional info:
Fixed on trunk (r956988) and in release repo (http://mrg1.lab.bos.redhat.com/git/?p=qpid.git;a=commitdiff;h=60a76e31d0b05c93662101a61bf573067440daec).
Tested: on 752581 problem appears on 946106-11 it is fixed validated on RHEL5.5 i386 / x86_64 on RHEL4 reproducer does not compile packages: # rpm -qa | grep -E '(qpid|openais|rhm)' | sort -u openais-0.80.6-16.el5_5.2 openais-devel-0.80.6-16.el5_5.2 python-qpid-0.7.946106-11.el5 qpid-cpp-client-0.7.946106-11.el5 qpid-cpp-client-devel-0.7.946106-11.el5 qpid-cpp-client-devel-docs-0.7.946106-11.el5 qpid-cpp-client-ssl-0.7.946106-11.el5 qpid-cpp-mrg-debuginfo-0.7.946106-8.el5 qpid-cpp-server-0.7.946106-11.el5 qpid-cpp-server-cluster-0.7.946106-11.el5 qpid-cpp-server-devel-0.7.946106-11.el5 qpid-cpp-server-ssl-0.7.946106-11.el5 qpid-cpp-server-store-0.7.946106-11.el5 qpid-cpp-server-xml-0.7.946106-11.el5 qpid-java-client-0.7.946106-7.el5 qpid-java-common-0.7.946106-7.el5 qpid-tools-0.7.946106-8.el5 rhm-docs-0.7.946106-4.el5 rh-tests-distribution-MRG-Messaging-qpid_common-1.6-52 -=>VERIFIED
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Acquiring a message from an exclusive, auto-delete queue with an alternate exchange and canceling/killing the subscription resulted in the acquired messages not being sent to the alternate exchange, even though the non-acquired messages were successfully sent to the alternate exchange. With this update, all messages, acquired and non-acquired, are sent to the alternate exchange.
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. http://rhn.redhat.com/errata/RHSA-2010-0773.html