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
- links to