[
https://issues.apache.org/jira/browse/QPID-5281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826575#comment-13826575
]
ASF subversion and git services commented on QPID-5281:
-------------------------------------------------------
Commit 1543449 from [~pmoravec] in branch 'qpid/trunk'
[ https://svn.apache.org/r1543449 ]
QPID-5278 , QPID-5281: Queue flow limit validation ignores size parameters ,
Creating a queue with invalid settings results in no queue but only its
management object exists
> Creating a queue with invalid settings results in no queue but only its
> management object exists
> ------------------------------------------------------------------------------------------------
>
> Key: QPID-5281
> URL: https://issues.apache.org/jira/browse/QPID-5281
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.24
> Reporter: Pavel Moravec
> Priority: Minor
>
> Description of problem:
> An attempt to create a queue with invalid settings (like max-queue-count <
> flow-stop-count) returns a QMF error and the queue is not created (can't send
> messages there or subscribe a consumer to it). But relevant QMF object is
> still present (listing all queues finds it).
> Version-Release number of selected component (if applicable):
> any (incl. 0.24 and upstream)
> How reproducible:
> 100%
> Steps to Reproduce:
> 0. rm -rf /var/lib/qpidd/* /var/lib/qpidd/.*; service qpidd restart
> 1. qpid-config add queue WrongQueue1 --max-queue-count=1
> --flow-stop-count=100 --durable
> 2. qpid-send -a WrongQueue1 -m1
> 3. qpid-config queues WrongQueue1
> Actual results:
> 1. returns:
> Failed: Exception: Exception from Agent: {u'error_code': 7, u'error_text':
> 'invalid-argument: Queue "WrongQueue1": qpid.flow_stop_count=100 must be less
> than qpid.max_count=1
> (/builddir/build/BUILD/qpid-0.24/cpp/src/qpid/broker/QueueFlowLimit.cpp:58)'}
> 2. returns:
> 2013-10-30 07:57:18 [Client] warning Exception received from broker:
> not-found: not-found: Queue not found: WrongQueue1
> (/builddir/build/BUILD/qpid-0.24/cpp/src/qpid/broker/QueueRegistry.cpp:127)
> [caused by 2 \x08:\x01]
> qpid-send: Queue WrongQueue1 does not exist
> 3. returns:
> Queue Name Attributes
> ===================================
> WrongQueue1 --durable --max-queue-count=1 --flow-stop-count=100
> Expected results:
> 1. and 2. as actual results, but 3. should return no such queue
> Additional info:
> Continuing in the reproducer, restarting the broker and running "qpid-config
> queues WrongQueue1" again shows no such queue exists - despite the queue was
> attempted to be created as durable. That just supports the theory that Queue
> object has not been created but its Management version was.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]