Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
Kafka broker crashes without any evident disk failuresÂ
From becket_qin: This looks a bug in kafka when topic deletion and log retention cleanup happen at the same time, the log retention cleanup may see ClosedChannelException after the log has been renamed for async deletion.
The root cause is that the topic deletion should have set the isClosed flag of the partition log to true and the retention should not bother to do the old log segments deletion when the log is closed.