You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <qp...@incubator.apache.org> on 2009/03/10 10:58:50 UTC

[jira] Created: (QPID-1723) Management's 'messages matched' count incorrect for headers exchange

Management's 'messages matched' count incorrect for headers exchange
--------------------------------------------------------------------

                 Key: QPID-1723
                 URL: https://issues.apache.org/jira/browse/QPID-1723
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
            Reporter: Gordon Sim
             Fix For: M5


As reported on user list the messages routed counter for bindings from a headers exchange is non-zero even where no messages have been enqueued:

qpid: show 8386
Object of type org.apache.qpid.broker:binding: (last sample time: 13:55:35)
    Type       Element      8386

===================================================================================
    property   exchangeRef  110
    property   queueRef     4338
    property   bindingKey
    property   arguments    {u'SPECIES': 'DOG23', u'TYPE': 'ANIMAL',
u'x-match': 'all'}
    property   origin       <NULL>
    statistic  msgMatched   4193496

qpid: show 4338
Object of type org.apache.qpid.broker:queue: (last sample time: 00:20:06)
    Type       Element                4338

============================================================================================
    property   vhostRef               103
    property   name
pyclient-feeds-queuec9a401f7-413c-ab48-b955-5ca55bcdd7c6
    property   durable                False
    property   autoDelete             False
    property   exclusive              True
    property   arguments              {}
    statistic  msgTotalEnqueues       0 messages
    statistic  msgTotalDequeues       0
    statistic  msgTxnEnqueues         0
    statistic  msgTxnDequeues         0
    statistic  msgPersistEnqueues     0
    statistic  msgPersistDequeues     0
    statistic  msgDepth               0
    statistic  byteDepth              0 octets
    statistic  byteTotalEnqueues      0
    statistic  byteTotalDequeues      0
    statistic  byteTxnEnqueues        0
    statistic  byteTxnDequeues        0
    statistic  bytePersistEnqueues    0
    statistic  bytePersistDequeues    0
    statistic  consumerCount          0 consumers
    statistic  consumerCountHigh      0
    statistic  consumerCountLow       0
    statistic  bindingCount           2749 bindings
    statistic  bindingCountHigh       2749
    statistic  bindingCountLow        2749
    statistic  unackedMessages        0 messages
    statistic  unackedMessagesHigh    0
    statistic  unackedMessagesLow     0
    statistic  messageLatencySamples  0
    statistic  messageLatencyMin      0
    statistic  messageLatencyMax      0
    statistic  messageLatencyAverage  0

LIne 118 of HeadersExchange.cpp shows that the count is incremented regardless of the success of match test.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Resolved: (QPID-1723) Management's 'messages matched' count incorrect for headers exchange

Posted by "Ted Ross (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross resolved QPID-1723.
----------------------------

    Resolution: Fixed

> Management's 'messages matched' count incorrect for headers exchange
> --------------------------------------------------------------------
>
>                 Key: QPID-1723
>                 URL: https://issues.apache.org/jira/browse/QPID-1723
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: Gordon Sim
>            Assignee: Ted Ross
>             Fix For: M5
>
>
> As reported on user list the messages routed counter for bindings from a headers exchange is non-zero even where no messages have been enqueued:
> qpid: show 8386
> Object of type org.apache.qpid.broker:binding: (last sample time: 13:55:35)
>     Type       Element      8386
> ===================================================================================
>     property   exchangeRef  110
>     property   queueRef     4338
>     property   bindingKey
>     property   arguments    {u'SPECIES': 'DOG23', u'TYPE': 'ANIMAL',
> u'x-match': 'all'}
>     property   origin       <NULL>
>     statistic  msgMatched   4193496
> qpid: show 4338
> Object of type org.apache.qpid.broker:queue: (last sample time: 00:20:06)
>     Type       Element                4338
> ============================================================================================
>     property   vhostRef               103
>     property   name
> pyclient-feeds-queuec9a401f7-413c-ab48-b955-5ca55bcdd7c6
>     property   durable                False
>     property   autoDelete             False
>     property   exclusive              True
>     property   arguments              {}
>     statistic  msgTotalEnqueues       0 messages
>     statistic  msgTotalDequeues       0
>     statistic  msgTxnEnqueues         0
>     statistic  msgTxnDequeues         0
>     statistic  msgPersistEnqueues     0
>     statistic  msgPersistDequeues     0
>     statistic  msgDepth               0
>     statistic  byteDepth              0 octets
>     statistic  byteTotalEnqueues      0
>     statistic  byteTotalDequeues      0
>     statistic  byteTxnEnqueues        0
>     statistic  byteTxnDequeues        0
>     statistic  bytePersistEnqueues    0
>     statistic  bytePersistDequeues    0
>     statistic  consumerCount          0 consumers
>     statistic  consumerCountHigh      0
>     statistic  consumerCountLow       0
>     statistic  bindingCount           2749 bindings
>     statistic  bindingCountHigh       2749
>     statistic  bindingCountLow        2749
>     statistic  unackedMessages        0 messages
>     statistic  unackedMessagesHigh    0
>     statistic  unackedMessagesLow     0
>     statistic  messageLatencySamples  0
>     statistic  messageLatencyMin      0
>     statistic  messageLatencyMax      0
>     statistic  messageLatencyAverage  0
> LIne 118 of HeadersExchange.cpp shows that the count is incremented regardless of the success of match test.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Assigned: (QPID-1723) Management's 'messages matched' count incorrect for headers exchange

Posted by "Ted Ross (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross reassigned QPID-1723:
------------------------------

    Assignee: Ted Ross

> Management's 'messages matched' count incorrect for headers exchange
> --------------------------------------------------------------------
>
>                 Key: QPID-1723
>                 URL: https://issues.apache.org/jira/browse/QPID-1723
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>            Reporter: Gordon Sim
>            Assignee: Ted Ross
>             Fix For: M5
>
>
> As reported on user list the messages routed counter for bindings from a headers exchange is non-zero even where no messages have been enqueued:
> qpid: show 8386
> Object of type org.apache.qpid.broker:binding: (last sample time: 13:55:35)
>     Type       Element      8386
> ===================================================================================
>     property   exchangeRef  110
>     property   queueRef     4338
>     property   bindingKey
>     property   arguments    {u'SPECIES': 'DOG23', u'TYPE': 'ANIMAL',
> u'x-match': 'all'}
>     property   origin       <NULL>
>     statistic  msgMatched   4193496
> qpid: show 4338
> Object of type org.apache.qpid.broker:queue: (last sample time: 00:20:06)
>     Type       Element                4338
> ============================================================================================
>     property   vhostRef               103
>     property   name
> pyclient-feeds-queuec9a401f7-413c-ab48-b955-5ca55bcdd7c6
>     property   durable                False
>     property   autoDelete             False
>     property   exclusive              True
>     property   arguments              {}
>     statistic  msgTotalEnqueues       0 messages
>     statistic  msgTotalDequeues       0
>     statistic  msgTxnEnqueues         0
>     statistic  msgTxnDequeues         0
>     statistic  msgPersistEnqueues     0
>     statistic  msgPersistDequeues     0
>     statistic  msgDepth               0
>     statistic  byteDepth              0 octets
>     statistic  byteTotalEnqueues      0
>     statistic  byteTotalDequeues      0
>     statistic  byteTxnEnqueues        0
>     statistic  byteTxnDequeues        0
>     statistic  bytePersistEnqueues    0
>     statistic  bytePersistDequeues    0
>     statistic  consumerCount          0 consumers
>     statistic  consumerCountHigh      0
>     statistic  consumerCountLow       0
>     statistic  bindingCount           2749 bindings
>     statistic  bindingCountHigh       2749
>     statistic  bindingCountLow        2749
>     statistic  unackedMessages        0 messages
>     statistic  unackedMessagesHigh    0
>     statistic  unackedMessagesLow     0
>     statistic  messageLatencySamples  0
>     statistic  messageLatencyMin      0
>     statistic  messageLatencyMax      0
>     statistic  messageLatencyAverage  0
> LIne 118 of HeadersExchange.cpp shows that the count is incremented regardless of the success of match test.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org