codelipenghui opened a new pull request #9504:
URL: https://github.com/apache/pulsar/pull/9504
### Motivation
Fix the batch index ack persistent issue. Currently, the
`batchDeletedIndexInfoBuilder` been reused for generating the batch index ack
data, but the delete set does not been cleared before adding the delete set.
### Modifications
Clear the delete set before add the new delete set.
### Verifying this change
Test added. Without this fix, the test failed.
### 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: (no)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
### Documentation
- Does this pull request introduce a new feature? (no)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]