codelipenghui opened a new pull request #14071:
URL: https://github.com/apache/pulsar/pull/14071
### Motivation
Fix unack message count for transaction Ack while disabled batch index ack.
Transaction Ack is different with normal message ack for a batch message.
For normal message, we are using a bitset to carry the batch index state,
for example
```
1. Ack with `00111111` means acks batch index 0 and 1
2. For ack batch index 2 and 3, the client will send `00001111` to broker
3. After all the batch been acked, send `00000000` to broker
```
The following is for transaction ack:
```
1. `00111111` means acks batch index 0 and 1
1. `11001111` means acks batch index 2 and 3
```
### Verification
Enabled transaction e2e test for batch index ack disabled
### Documentation
Check the box below or label this PR directly (if you have committer
privilege).
Need to update docs?
- [ ] `doc-required`
(If you need help on updating docs, create a doc issue)
- [x] `no-need-doc`
(Please explain why)
- [ ] `doc`
(If this PR contains doc changes)
--
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]