[
https://issues.apache.org/jira/browse/AMQ-9595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892166#comment-17892166
]
ASF subversion and git services commented on AMQ-9595:
------------------------------------------------------
Commit 9106a9838f8412f8b1ae87d1391bf5b15879cce1 in activemq's branch
refs/heads/activemq-5.18.x from Nikita Shupletsov
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=9106a9838f ]
[AMQ-9595] Fix recoverNextMessages when there are messages consumed farther
than maxBatchSize.
(cherry picked from commit 6b08e104208c1a344a1ab8a312450f855415ceb1)
> Durable subscriber receives acknowledge messages if there are farther than
> the maxBatchSize
> -------------------------------------------------------------------------------------------
>
> Key: AMQ-9595
> URL: https://issues.apache.org/jira/browse/AMQ-9595
> Project: ActiveMQ Classic
> Issue Type: Bug
> Components: KahaDB
> Affects Versions: 6.1.3, 5.18.6
> Reporter: Nikita Shupletsov
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 6.2.0, 6.1.4, 5.18.7
>
> Attachments: DurableSubscriptionPartialAckTest_test.patch
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Let's say we have a topic with 2 durable subscribers:
> * we send 10000 messages to the topic.
> * First subscriber receives all messages, and acknowledges every second of
> them(0th, 2nd, 4th and so on)
> * Second subscriber doesn't acknowledge anything
> * we restart the broker
> * first subscriber connects to the broker and starts receiving messages
> * at first it receives correct messages(1st, 3rd, 5th and so on), but at
> some point it starts receiving all messages(400th, 401st, 402nd and so on).
> See a test in the attachment
--
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