Bug 701786

Summary: Broker ignores --max-queue-count= parameter when configuring queue flow control levels.
Product: Red Hat Enterprise MRG Reporter: Ken Giusti <kgiusti>
Component: qpid-cppAssignee: Ken Giusti <kgiusti>
Status: CLOSED CURRENTRELEASE QA Contact: ppecka <ppecka>
Severity: unspecified Docs Contact:
Priority: high    
Version: 2.0CC: iboverma, ppecka, tross
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 Ken Giusti 2011-05-03 20:35:42 UTC
Description of problem:

If a user configures a maximum queue size based on message count via qpid-config, the default producer flow control limits are not correctly computed.


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

How reproducible:
100%


Steps to Reproduce:
1.  qpid-config add queue fleabag --max-queue-count=1000

  
Actual results:
Queue is created without msg-count based flow control limits:
2011-05-03 16:15:57 info Queue "fleabag": Policy created: type=reject; maxCount=1000; maxSize=104857600
2011-05-03 16:15:57 info Queue "fleabag": Flow limit created: flowStopCount=0, flowResumeCount=0, flowStopSize=83886080, flowResumeSize=73400320


Expected results:
Queue should be created with flowStopCount=800 & flowResumeCount=700 (using broker-wide default ratios).

Additional info:

Comment 1 Ken Giusti 2011-05-03 22:07:53 UTC
fixed upstream:

https://issues.apache.org/jira/browse/QPID-3243
Committed revision 1099278
http://svn.apache.org/viewvc?view=revision&revision=1099278

Comment 5 ppecka 2011-06-08 12:41:54 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