junrao commented on code in PR #11390:
URL: https://github.com/apache/kafka/pull/11390#discussion_r1051118349
##########
core/src/main/scala/kafka/log/UnifiedLog.scala:
##########
@@ -574,6 +594,12 @@ class UnifiedLog(@volatile var logStartOffset: Long,
explicitMetricName(pkgStr, "Log", name, tags)
}
+ def loadProducerState(lastOffset: Long): Unit = lock synchronized {
+ rebuildProducerState(lastOffset, producerStateManager)
+ maybeIncrementFirstUnstableOffset()
+ updateHighWatermark(localLog.logEndOffset)
Review Comment:
logEndOffset still uses offset. We want to use logEndOffsetMetadata.
--
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]