Bug 975423

Summary: auto-deleted queues for outgoing links from an exchange are not in fact autodeleted
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Ernie <eallen>
Severity: medium Docs Contact:
Priority: high    
Version: DevelopmentCC: eallen, esammons, iboverma, jross
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-5.el6, qpid-cpp-0.22-5.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 974061    
Attachments:
Description Flags
Reproducer none

Description Gordon Sim 2013-06-18 12:52:07 UTC
Description of problem:

A previous fix (which may not have been made available in RHEL packages) caused autodeleted queues not to be deleted when required.

Version-Release number of selected component (if applicable):

not sure

How reproducible:

100%

Steps to Reproduce:
1. qpid-receive --connection-options {protocol:amqp1.0} --address amq.topic
(run several times to make observing the issue easier)

Actual results:

subscription queue left on broker 

Expected results:

subscription queue cleaned up when receiver closes
Additional info:

Comment 1 Justin Ross 2013-06-21 11:22:55 UTC
http://svn.apache.org/r1480238

Comment 2 Ernie 2013-07-17 17:25:50 UTC
Created attachment 774874 [details]
Reproducer

Loops 50 times and creates temp auto-del queues on outgoing links. Tests if number of auto-del queues before and after looping is the same.

Comment 3 Ernie 2013-07-17 17:31:04 UTC
Verified. rhel 5.9 / 6.4 (32 and 64)
      RHEL 5.9
        cyrus-sasl-2.1.22-7.el5_8.1
        cyrus-sasl-devel-2.1.22-7.el5_8.1
        cyrus-sasl-lib-2.1.22-7.el5_8.1
        cyrus-sasl-plain-2.1.22-7.el5_8.1
        python-qpid-0.22-4.el5
        python-qpid-qmf-0.22-5.el5
        python-saslwrapper-0.22-2.el5
        qpid-cpp-client-0.22-6.el5
        qpid-cpp-client-devel-0.22-6.el5
        qpid-cpp-server-0.22-6.el5
        qpid-java-client-0.22-2.el5
        qpid-java-common-0.22-2.el5
        qpid-java-example-0.22-2.el5
        qpid-proton-c-0.4-2.2.el5
        qpid-qmf-0.22-5.el5
        qpid-tools-0.22-2.el5
        saslwrapper-0.22-2.el5

      RHEL 6.4
        cyrus-sasl-2.1.23-13.el6_3.1
        cyrus-sasl-devel-2.1.23-13.el6_3.1
        cyrus-sasl-gssapi-2.1.23-13.el6_3.1
        cyrus-sasl-lib-2.1.23-13.el6_3.1
        cyrus-sasl-md5-2.1.23-13.el6_3.1
        cyrus-sasl-plain-2.1.23-13.el6_3.1
        python-qpid-0.22-4.el6.noarch
        python-qpid-qmf-0.22-5.el6
        python-saslwrapper-0.22-3.el6
        qpid-cpp-client-0.22-6.el6
        qpid-cpp-client-devel-0.22-6.el6
        qpid-cpp-server-0.22-6.el6
        qpid-proton-c-0.4-2.2.el6
        qpid-proton-c-devel-0.4-2.2.el6
        qpid-qmf-0.22-5.el6
        qpid-tools-0.22-3.el6.noarch
        saslwrapper-0.22-3.el6

NOT reproduced since this bug was reported against an unknown devel revision.