qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-1723) Management's 'messages matched' count incorrect for headers exchange
Date Tue, 10 Mar 2009 09:58:50 GMT
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


Mime
View raw message