qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Moravec (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-6033) [C++ broker] Session statistics sessUnacked wrongly updated
Date Thu, 04 Sep 2014 07:46:51 GMT

     [ https://issues.apache.org/jira/browse/QPID-6033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Moravec updated QPID-6033:
--------------------------------
    Description: 
sessUnacked counter for a subscriber gets updated only when re-issuing credit on the session
(session.completed AMQP 0=10 performative is received). While it should be updated also on
accepting messages (message.accept performative).

Reproducer:
{noformat}
qpid-send -a "testQ; {create:always}" -m 123 --content-size=10
qpid-receive -a testQ -f -m 10000 --ack=100 --print-content=no &
{noformat}

Now, qpid-stat shows queue depth is 23 and 100 dequeues, but qpid-stat -u shows sessUnacked=123.

(sessUnacked will drop after 500 messages are received, due to default qpid-receive option
--capacity=1000).

  was:
sessUnacked counter for a subscriber gets updated only when re-issuing credit on the session
(session.completed AMQP 0=10 performative is received). While it should be updated also on
accepting messages (message.accept performative).

Reproducer:
qpid-send -a "testQ; {create:always}" -m 123 --content-size=10
qpid-receive -a testQ -f -m 10000 --ack=100 --print-content=no &

Now, qpid-stat shows queue depth is 23 and 100 dequeues, but qpid-stat -u shows sessUnacked=123.

(sessUnacked will drop after 500 messages are received, due to default qpid-receive option
--capacity=1000).


> [C++ broker] Session statistics sessUnacked wrongly updated
> -----------------------------------------------------------
>
>                 Key: QPID-6033
>                 URL: https://issues.apache.org/jira/browse/QPID-6033
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.28
>            Reporter: Pavel Moravec
>            Priority: Trivial
>
> sessUnacked counter for a subscriber gets updated only when re-issuing credit on the
session (session.completed AMQP 0=10 performative is received). While it should be updated
also on accepting messages (message.accept performative).
> Reproducer:
> {noformat}
> qpid-send -a "testQ; {create:always}" -m 123 --content-size=10
> qpid-receive -a testQ -f -m 10000 --ack=100 --print-content=no &
> {noformat}
> Now, qpid-stat shows queue depth is 23 and 100 dequeues, but qpid-stat -u shows sessUnacked=123.
> (sessUnacked will drop after 500 messages are received, due to default qpid-receive option
--capacity=1000).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message