CalvinConfluent commented on code in PR #17698: URL: https://github.com/apache/kafka/pull/17698#discussion_r1850910941
########## core/src/main/scala/kafka/coordinator/transaction/TransactionMetadata.scala: ########## @@ -490,9 +494,10 @@ private[transaction] class TransactionMetadata(val transactionalId: String, } case CompleteAbort | CompleteCommit => // from write markers + // With transaction V2, we allow Empty transaction to be aborted, so the txnStartTimestamp can be -1. Review Comment: I can use the update time to be the txn start time. I guess it is better than make more exceptions in the state transition which confuses the state machine. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org