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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. shutdown-command
          0.2 kB
          Neha Narkhede
        2. shutdown_brokers_eat.py
          3 kB
          Neha Narkhede
        3. kafka-705-v1.patch
          2 kB
          Joel Jacob Koshy
        4. kafka-705-incremental-v2.patch
          3 kB
          Joel Jacob Koshy

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment