aloyszhang opened a new pull request #11826:
URL: https://github.com/apache/pulsar/pull/11826


   Fixes #11825 
   
   ### Motivation
   If AcknowledgmentAtBatchIndexLevelEnabled, consumer may receive duplicated 
messages after seek to batchIndex.
   This pull request tries to resolve this problem.
   
   ### Modifications
   Set the `duringSeek` before reveived seek response.
   
   ### Verifying this change
   
   This change added tests and can be verified as follows:
   SubscriptionSeekTest.testSeekForBatchMessageAndSpecifiedBatchIndex
   
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (v)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (v)
     - Anything that affects deployment: (no)
   
   ### Documentation
   - [ ] no-need-doc 
     
   no doc need since it's a bug fix and has nothing to do with configurations 
or apis.
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to