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

log layer exception during shutdown that caused an unclean shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0, 3.0.1
    • None
    • None

    Description

      We have seen an exception caused by shutting down scheduler before shutting down LogManager.

      When LogManager was closing partitons one by one, scheduler called to delete old segments due to retention. However, the old segments could have been closed by the LogManager, which subsequently marked logdir as offline and didn't write the clean shutdown marker. Ultimately the broker would take hours to restart.

      Attachments

        Issue Links

          Activity

            People

              ccding Cong Ding
              ccding Cong Ding
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: