ijuma commented on a change in pull request #8812: URL: https://github.com/apache/kafka/pull/8812#discussion_r583907925
########## File path: core/src/main/scala/kafka/log/Log.scala ########## @@ -826,8 +832,16 @@ class Log(@volatile private var _dir: File, preallocate = config.preallocate)) } - recoveryPoint = activeSegment.readNextOffset Review comment: We discussed this offline and we decided to stick with the fix in this PR for now and to file a separate JIRA to consider flushing unflushed segments during recovery. That would provide stronger guarantees after a restart. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org