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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: core
    • Labels:

      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 Koshy
        2. kafka-705-v1.patch
          2 kB
          Joel Koshy
        3. shutdown-command
          0.2 kB
          Neha Narkhede
        4. shutdown_brokers_eat.py
          3 kB
          Neha Narkhede

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: