Chia-Ping Tsai created KAFKA-17310:
--------------------------------------

             Summary: locking the offline dir can destroy the broker 
exceptionally
                 Key: KAFKA-17310
                 URL: https://issues.apache.org/jira/browse/KAFKA-17310
             Project: Kafka
          Issue Type: Bug
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai
             Fix For: 4.0.0, 3.9.0


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
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to