satishd commented on code in PR #15201: URL: https://github.com/apache/kafka/pull/15201#discussion_r1519366268
########## core/src/main/scala/kafka/log/LogManager.scala: ########## @@ -865,7 +865,8 @@ class LogManager(logDirs: Seq[File], try { logStartOffsetCheckpoints.get(logDir).foreach { checkpoint => val logStartOffsets = logsToCheckpoint.collect { - case (tp, log) if log.logStartOffset > log.logSegments.asScala.head.baseOffset => tp -> log.logStartOffset + case (tp, log) if log.remoteLogEnabled() || log.logStartOffset > log.logSegments.asScala.head.baseOffset => Review Comment: Note: This change makes sure we always store the respective `log-start-offset` for tiered storage enabled topics. -- 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