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

LogCleaner delete file asynchronously and can cause inconsistency between log cleaner checkpoint and first dirty log segment file.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      In LogCleaner we delete the log segment file asynchronously and then checkpoint the cleaned offsets. If broker exit after checkpoint is written but before log segment got deleted, when the broker start again, it will have the first dirty log offset different from the check-pointed offset.

      Attachments

        Activity

          People

            Unassigned Unassigned
            becket_qin Jiangjie Qin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: