Kafka
  1. Kafka
  2. KAFKA-705

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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.

      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

        Neha Narkhede created issue -
        Neha Narkhede made changes -
        Field Original Value New Value
        Attachment shutdown_brokers_eat.py [ 12565028 ]
        Attachment shutdown-command [ 12565029 ]
        Joel Koshy made changes -
        Attachment kafka-705-v1.patch [ 12565560 ]
        Joel Koshy made changes -
        Attachment kafka-705-incremental-v2.patch [ 12565853 ]
        Joel Koshy made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Joel Koshy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development