Description
Currently, in Log.recoverLog(), we set recoveryPoint to logEndOffset after recovering the log segment. However, we don't flush the log segments after recovery. The potential issue is that if the broker has another hard failure, segments may be corrupted on disk but won't be going through recovery on another restart.
This logic was introduced in KAFKA-5829 since 1.0.0.
Attachments
Issue Links
- links to