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

locking the offline dir can destroy the broker exceptionally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 3.9.0
    • None
    • None

    Description

      KAFKA-17176 migrated the FileLock to java, and all `IOException` is wrapped by `RuntimeException`. However, LogManager only handles the `IOException` so the the `RuntimeException` will escape from error-catch and then destroy the broker.

      [0] https://github.com/apache/kafka/blob/5d66f8d88cc3121236287157a2d46856dbae4512/core/src/main/scala/kafka/log/LogManager.scala#L273

      Attachments

        Issue Links

          Activity

            People

              brandboat Kuan Po Tseng
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: