You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pavel Moravec (JIRA)" <ji...@apache.org> on 2014/10/13 16:01:34 UTC
[jira] [Closed] (QPID-6148) purging TTL expired messages via purge
task should not increase acquires counters
[ https://issues.apache.org/jira/browse/QPID-6148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Moravec closed QPID-6148.
-------------------------------
Resolution: Fixed
Fix Version/s: Future
Committed revision 1631396.
> purging TTL expired messages via purge task should not increase acquires counters
> -----------------------------------------------------------------------------------
>
> Key: QPID-6148
> URL: https://issues.apache.org/jira/browse/QPID-6148
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.30
> Reporter: Pavel Moravec
> Assignee: Pavel Moravec
> Priority: Trivial
> Fix For: Future
>
>
> Description of problem:
> When purging messages via purge task (that runs every 10 minutes), for every purged message this way, "acquires" counter per queue and per broker is increased.
> That does not make much sense, as technically the message is not acquired. Moreover purging the same message in the second way (removing it when finding what message to send/acquire to some consumer) does not increase the counter.
> How reproducible:
> 100%
> Steps to Reproduce:
> # echo "queue-purge-interval=10" >> /etc/qpid/qpidd.conf
> # service qpidd restart
> # qpid-send -a "q; {create:always}" -m1000 --ttl=1000
> # sleep 10
> # qpid-stat -q q | egrep '(acquires|ttl-expired)'; qpid-stat -g | egrep '(acquires|ttl-expired)'
> Actual results:
> acquires 1000
> discards-ttl-expired 1000
> acquires 1008
> discards-ttl-expired 1000
> (the 2nd acquires - brokerwide - should be >1000 due to the qpid-tool acquiring some messages)
> Expected results:
> acquires 0
> discards-ttl-expired 1000
> acquires 8
> discards-ttl-expired 1000
> (the 2nd acquires - brokerwide - shoudl be >0 due to qpid-tool acquiring some messages, but surely <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