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

Partition leaders are not demoted during kraft controlled shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.1
    • 3.4.0, 3.3.2
    • None
    • None

    Description

      When the BrokerServer starts its shutting down process, it transitions to SHUTTING_DOWN and sets isShuttingDown to true. With this state change, the follower state changes are short-cutted. This means that a broker which was serving as leader would remain acting as a leader until controlled shutdown completes. Instead, we want the leader and ISR state to be updated so that requests will return NOT_LEADER and the client can find the new leader.

      Attachments

        Issue Links

          Activity

            People

              dajac David Jacot
              dajac David Jacot
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: