[ 
https://issues.apache.org/jira/browse/AMQ-9654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957411#comment-17957411
 ] 

Matt Pavlovich commented on AMQ-9654:
-------------------------------------

1a. Not expired 
1b. Might be redelivered (working to verify)
1c. Duplicate From Store occurred 

4. No, cursor cache is disabled

5. Yes, duplicate from store

6. Persistent

Log messages
{noformat}
org.apache.activemq.broker.region.cursors.QueueStorePrefetch@5a64ec82:QUEUE.IN,batchResetNeeded=false,size=4,cacheEnabled=false,maxBatchSize:4,hasSpace:true,pendingCachedIds.size:0,lastSyncCachedId:null,lastSyncCachedId-seq:null,lastAsyncCachedId:null,lastAsyncCachedId-seq:null,store=permits:10000,sd=nextSeq:6378647,lastRet:MessageOrderCursor:[def:6378646,
 low:0, high:0],pending:0 - cursor got duplicate from store 
ID:app-client-id-795c4dfcbb-kp6qx-33983-7123677174665-287:366099:1:1:18 seq: 
6378646
{noformat}

> 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


Reply via email to