kowshik commented on pull request #10650: URL: https://github.com/apache/kafka/pull/10650#issuecomment-846142330
@soarez Nice explanation. Regarding the segments getting cleared, note that the call to `recoverLog()` will eventually ensure that there is at least the active segment, see [these lines](https://github.com/apache/kafka/blob/2.6/core/src/main/scala/kafka/log/Log.scala#L813-L822). So it is surprising that you saw the exception. -- 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