Bug 701786 - Broker ignores --max-queue-count= parameter when configuring queue flow control levels.
Summary: Broker ignores --max-queue-count= parameter when configuring queue flow contr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 2.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: 2.0
: ---
Assignee: Ken Giusti
QA Contact: ppecka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-03 20:35 UTC by Ken Giusti
Modified: 2013-02-24 14:57 UTC (History)
3 users (show)

Fixed In Version: qpid-cpp-mrg-0.10-6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.