Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10101

recovery point is advanced without flushing the data after recovery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.8.0
    • core
    • None

    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

          Activity

            People

              ijuma Ismael Juma
              junrao Jun Rao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: