clolov commented on code in PR #14489:
URL: https://github.com/apache/kafka/pull/14489#discussion_r1350537983


##########
core/src/main/scala/kafka/coordinator/transaction/TransactionStateManager.scala:
##########
@@ -515,7 +521,10 @@ class TransactionStateManager(brokerId: Int,
    * metadata cache with the transactional ids. This operation must be 
resilient to any partial state left off from
    * the previous loading / unloading operation.
    */
-  def loadTransactionsForTxnTopicPartition(partitionId: Int, coordinatorEpoch: 
Int, sendTxnMarkers: SendTxnMarkersCallback): Unit = {
+  def loadTransactionsForTxnTopicPartition(partitionId: Int,
+                                           coordinatorEpoch: Int,
+                                           sendTxnMarkers: 
SendTxnMarkersCallback,
+                                           hadTransactionStateAlreadyLoaded: 
Boolean): Unit = {

Review Comment:
   Ohhh, I see, maybe hasTransactionStateBeenLoadedBefore?



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