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

synchronize Log modification between delete cleanup and async delete

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            sutambe Sumant Tambe
            sutambe Sumant Tambe
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: