artemlivshits commented on code in PR #18720:
URL: https://github.com/apache/kafka/pull/18720#discussion_r1936469374


##########
core/src/main/scala/kafka/log/UnifiedLog.scala:
##########
@@ -569,20 +569,21 @@ class UnifiedLog(@volatile var logStartOffset: Long,
    * Maybe create and return the VerificationGuard for the given producer ID 
if the transaction is not yet ongoing.
    * Creation starts the verification process. Otherwise return the sentinel 
VerificationGuard.
    */
-  def maybeStartTransactionVerification(producerId: Long, sequence: Int, 
epoch: Short): VerificationGuard = lock synchronized {
+  def maybeStartTransactionVerification(producerId: Long, sequence: Int, 
epoch: Short, isTV2: Boolean): VerificationGuard = lock synchronized {

Review Comment:
   I guess, the next question is whether we want to keep the name `isTV2` or 
change it to `supportsEpochBump` :-).



-- 
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

Reply via email to