nikramakrishnan commented on PR #14653: URL: https://github.com/apache/kafka/pull/14653#issuecomment-1782947677
Question: is this not already handled in [UnifiedLog::truncateFullyAndStartAt](https://github.com/apache/kafka/blob/f0e97397c01241be9d8d05b1642352b58d1ed196/core/src/main/scala/kafka/log/UnifiedLog.scala#L1758) with: ```java updateHighWatermark(localLog.logEndOffsetMetadata) ``` where `localLog.logEndOffsetMetadata` would be the offset the log was truncated to? -- 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