Bug 701804

Summary: Flow-stopped producers are not released when the congested queue is deleted
Product: Red Hat Enterprise MRG Reporter: Ted Ross <tross>
Component: qpid-cppAssignee: Ken Giusti <kgiusti>
Status: CLOSED CURRENTRELEASE QA Contact: ppecka <ppecka>
Severity: unspecified Docs Contact:
Priority: high    
Version: DevelopmentCC: iboverma, ppecka
Target Milestone: 2.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-mrg-0.10-6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ted Ross 2011-05-03 22:02:05 UTC
Description of problem:

Deletion of a congested queue does not release stopped producers that are waiting for the queue to drain.

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

qpid-cpp-mrg-0.10-5

How reproducible:

100%

Steps to Reproduce:
1. Start a broker
2. Create a queue with a flow-stop:

   qpid-config add queue test --flow-stop-count=25

3. Produce enough messages to exceed the flow threshold:

   spout test -c 26

   Observe that the spout process does not exit.

4. Delete the queue:

   qpid-config del queue test --force-if-not-empty
  
Actual results:

   The spout process still does not exit.

Expected results:

   The spout process should exit after the queue is deleted.

Comment 1 Ken Giusti 2011-05-03 22:10:30 UTC
Upstream JIRA:

https://issues.apache.org/jira/browse/QPID-3244

Comment 2 Ken Giusti 2011-05-03 22:14:42 UTC
Fix submitted upstream:
http://svn.apache.org/viewvc?view=revision&revision=1099283

Comment 5 Ken Giusti 2011-05-04 12:45:14 UTC
Merged fix to windows build to mrg_2.0.x:

http://mrg1.lab.bos.redhat.com/git/?p=qpid.git;a=commitdiff;h=24d7813ed455ac1b0718c02e910db5ca387707c3

Comment 7 ppecka 2011-06-08 13:01:04 UTC
Verified on rhel5/ rhel6 - x86_64/i686

# rpm -qa | grep qpid
python-qpid-0.10-1.el5
qpid-cpp-server-xml-0.10-7.el5
qpid-qmf-devel-0.10-10.el5
qpid-cpp-client-0.10-7.el5
qpid-java-client-0.10-6.el5
qpid-cpp-client-devel-0.10-7.el5
qpid-cpp-server-devel-0.10-7.el5
qpid-java-common-0.10-6.el5
qpid-qmf-0.10-10.el5
qpid-cpp-client-ssl-0.10-7.el5
qpid-cpp-server-cluster-0.10-7.el5
qpid-cpp-server-0.10-7.el5
qpid-java-example-0.10-6.el5
python-qpid-qmf-0.10-10.el5
qpid-cpp-client-devel-docs-0.10-7.el5
qpid-cpp-server-ssl-0.10-7.el5
qpid-tools-0.10-5.el5
qpid-cpp-server-store-0.10-7.el5


-->VERIFIED