You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Cong Ding (Jira)" <ji...@apache.org> on 2021/09/21 21:18:00 UTC

[jira] [Created] (KAFKA-13315) log layer exception during shutdown that caused an unclean shutdown

Cong Ding created KAFKA-13315:
---------------------------------

             Summary: log layer exception during shutdown that caused an unclean shutdown
                 Key: KAFKA-13315
                 URL: https://issues.apache.org/jira/browse/KAFKA-13315
             Project: Kafka
          Issue Type: Bug
            Reporter: Cong Ding


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)