[
https://issues.apache.org/jira/browse/AMQ-9654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17922076#comment-17922076
]
Christopher L. Shannon commented on AMQ-9654:
---------------------------------------------
It's going to be hard to track down the issue with the info you described
unless someone just gets lucky as it's probably not an actual error or anything
(lack of errors in the log etc...) and just a thread safety issue which is
always difficult to find.
When you say there is still pending messages, is it just the one destination
metrics counter?
What about other info going on or other metrics (destination, subscription,
etc)? These might give an indication of what happened.
# Do any messages show as expired, redelivered, etc?
# Do enqueue/dequeue counts match up?
# What about dispatched vs consumed counts for subs?
# Is cursor caching enabled?
# Any messages going to the DLQ?
# Persistent or non persistent? What does the data store show? Anything pending
in KahaDB on the destination?
> Queue size incorrect even when queue is empty
> ---------------------------------------------
>
> Key: AMQ-9654
> URL: https://issues.apache.org/jira/browse/AMQ-9654
> Project: ActiveMQ Classic
> Issue Type: Bug
> Affects Versions: 5.17.6
> Reporter: Matt Pavlovich
> Priority: Major
>
> Environment:
> Linux OS
> ActiveMQ 5.17.6 using network of brokers (2-3 brokers per cluster)
> Cloud deployment with high frequency of network inconsistency
> 1. Queue size may reflect a small number of messages are still pending on the
> queue (1 or 2), but there are no messages present.
> 2. Broker restart corrects the messages
> 3. No clear indications of exception or error in broker or client-side logs
> 4. Application consuming messages using multiple consumers and
> single-message-per-transaction using local transaction ack mode. (Camel JMS,
> Spring, etc)
> 5. Across dozens of brokers processing 100's of millions of messages per
> year, this will occur a handful of times in all.
> Suspect queue size counter consistency issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact