ddrid opened a new pull request #11991: URL: https://github.com/apache/kafka/pull/11991
As described in https://issues.apache.org/jira/browse/KAFKA-13794, inflightBatchesBySequence in TransactionManager is not being remove correctly. One batch may be removed by another batch with the same sequence number. This patch defines a comparator explicitly, we can remove a batch only if it equals to the original one. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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]
