jolshan commented on code in PR #13607:
URL: https://github.com/apache/kafka/pull/13607#discussion_r1181887737


##########
core/src/main/scala/kafka/server/ReplicaManager.scala:
##########
@@ -744,6 +751,7 @@ class ReplicaManager(val config: KafkaConfig,
         }
 
         // map not yet verified partitions to a request object
+        // verification only occurs on produce requests and those will always 
have one batch for versions that support transactions.
         val batchInfo = notYetVerifiedEntriesPerPartition.head._2.firstBatch()

Review Comment:
   Since produce requests only contain one batch and we put the partition in 
notYetVerified if it contains a transactional partition, this one must be 
transactional. 



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