Bug 975867 - QMF reporting differs when creating federation with --credit 0 and leaving the default
QMF reporting differs when creating federation with --credit 0 and leaving th...
Status: NEW
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf (Show other bugs)
2.4
Unspecified Unspecified
medium Severity low
: ---
: ---
Assigned To: Chuck Rolke
MRG Quality Engineering
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-19 09:39 EDT by Zdenek Kraus
Modified: 2013-06-20 15:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
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: ---


Attachments (Terms of Use)

  None (edit)
Description Zdenek Kraus 2013-06-19 09:39:12 EDT
Description of problem:

When you create a route without specifying the credit value (credit should be not applied (=unlimited)) the QMF reports the credit on the bridge object as 2^32 thus "unlimited".

But the other case, when you specify the --credit=0, result should be the same (=unlimited), the QMF in this case reports a zero credit.

Version-Release number of selected component (if applicable):
qpid-cpp-0.22-4

How reproducible:
100%

Steps to Reproduce:
1. create a federation route without specifying a credit value
2. create another federation route with the credit specified --credit 0
3. check with the qpid-tool the credit value set

Actual results:

# DEFAULT #
Object of type: org.apache.qpid.broker:bridge:_data(b71da3c2-cbac-950f-1954-2aeced85659e)
    Attribute   165
    ==============================================
    linkRef     178
    name        qpid.tcp:192.168.6.3:5672!dq!ex!
    channelId   2
    durable     False
    src         dq
    dest        ex
    key         
    srcIsQueue  True
    srcIsLocal  False
    tag         
    excludes    
    dynamic     False
    sync        1
    credit      4294967295

# CREDIT #
Object of type: org.apache.qpid.broker:bridge:_data(b71da3c2-cbac-950f-1954-2aeced85659e)
    Attribute   188
    ==============================================
    linkRef     201
    name        qpid.tcp:192.168.6.3:5672!dq!ex!
    channelId   3
    durable     False
    src         dq
    dest        ex
    key         
    srcIsQueue  True
    srcIsLocal  False
    tag         
    excludes    
    dynamic     False
    sync        1
    credit      0


Expected results:
the QMF reports the same value for both ways, preferably zero (same as --ack/sync option)

Additional info:
see also Bug 949014 Comment 8 and Bug 949014 Comment 9

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