[ 
https://issues.apache.org/jira/browse/AMQ-9595?focusedWorklogId=939003&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-939003
 ]

ASF GitHub Bot logged work on AMQ-9595:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Oct/24 01:43
            Start Date: 19/Oct/24 01:43
    Worklog Time Spent: 10m 
      Work Description: Nikita-Shupletsov commented on PR #1324:
URL: https://github.com/apache/activemq/pull/1324#issuecomment-2423435959

   > Do you have a unit test the reproduces the issue?
   
   the test I added reproduces the issue. without the fix the test will fail




Issue Time Tracking
-------------------

    Worklog Id:     (was: 939003)
    Time Spent: 0.5h  (was: 20m)

> 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
>            Priority: Major
>         Attachments: DurableSubscriptionPartialAckTest_test.patch
>
>          Time Spent: 0.5h
>  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


Reply via email to