pulsar
pulsar copied to clipboard
[improve][broker] Remove check ack.getMessageIdsCount() == 1 for cumulative ack
Motivation
A minor improvement by removing check ack.getMessageIdsCount() == 1
for cumulative ack, making the code more clear and effective. Because we have checked it before at line418
Modifications
Remove check ack.getMessageIdsCount() == 1 for cumulative ack
Verifying this change
- [x] Make sure that the change passes the CI checks.
Documentation
- [ ]
doc
- [ ]
doc-required
- [x]
doc-not-needed
- [ ]
doc-complete
Matching PR in forked repository
PR in forked repository: https://github.com/AnonHxy/pulsar/pull/14