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

Controlled shutdown doesn't seem to work on more than one broker in a cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.8.0
    • None
    • core

    Description

      I wrote a script (attached here) to basically round robin through the brokers in a cluster doing the following 2 operations on each of them -

      1. Send the controlled shutdown admin command. If it succeeds
      2. Restart the broker

      What I've observed is that only one broker is able to finish the above successfully the first time around. For the rest of the iterations, no broker is able to shutdown using the admin command and every single time it fails with the error message stating the same number of leaders on every broker.

      Attachments

        1. kafka-705-incremental-v2.patch
          3 kB
          Joel Jacob Koshy
        2. kafka-705-v1.patch
          2 kB
          Joel Jacob Koshy
        3. shutdown_brokers_eat.py
          3 kB
          Neha Narkhede
        4. shutdown-command
          0.2 kB
          Neha Narkhede

        Activity

          People

            jjkoshy Joel Jacob Koshy
            nehanarkhede Neha Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: