chia7712 commented on code in PR #23301:
URL: https://github.com/apache/kafka/pull/23301#discussion_r3930977072
##########
storage/src/main/java/org/apache/kafka/storage/internals/log/CleanedTransactionMetadata.java:
##########
@@ -36,7 +37,7 @@
* This is a helper class to facilitate tracking transaction state while
cleaning the log. It maintains a set
* of the ongoing aborted and committed transactions as the cleaner is working
its way through the log. This
* class is responsible for deciding when transaction markers can be removed
and is therefore also responsible
- * for updating the cleaned transaction index accordingly.
+ * for staging the retained aborted transactions destined for the cleaned
transaction index.
*/
public class CleanedTransactionMetadata {
Review Comment:
I opened KAFKA-21030 to add unit tests for this class as a follow-up.
--
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]