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

controlled.shutdown.enable=true leads blocking some time during shutdown when the broker is the only remaining broker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.10.1.1, 0.10.2.0
    • None
    • controller
    • None
    • Ubuntu 16

    Description

      The documentation clearly states 'Note that controlled shutdown will only succeed if all the partitions hosted on the broker have replicas' but
      even if we have replication, when you try to shutdown the broker that is serving as the only remaining broker for a partition, you will end up blocking for some time if the controlled shutdown is set to true. Say we have two brokers and our topics are replicated. When we shutdown the first one, it will terminate gracefully with controlled shutdown set to true. When we shutdown the second one, it will block and would have to be killed forcefully after a minute or so.

      Attachments

        1. Stack dump.pdf
          84 kB
          Zeynep Arikoglu

        Activity

          People

            Unassigned Unassigned
            zeynep Zeynep Arikoglu
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: