m1a2st opened a new pull request, #23301: URL: https://github.com/apache/kafka/pull/23301
https://github.com/apache/kafka/pull/21379#discussion_r3761497110 `CleanedTransactionMetadata` state and updates the transaction index, re-filtering used inconsistent transaction state. As a result, aborted batches could be retained, markers could be dropped prematurely, transaction index entries could end up in the wrong segment, and cleaner stats could be double-counted. On overflow, the cleaner no longer rewinds or re-filters the chunk. Instead, it carries forward the already-filtered chunk, rolling a new cleaned segment if needed before appending it. Transaction index updates are deferred until after the chunk is appended. Retained aborted transactions are staged in `CleanedTransactionMetadata` and then flushed to the transaction index of the segment that actually receives the chunk. -- 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]
