You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2022/10/14 00:11:00 UTC
[jira] [Resolved] (KAFKA-14296) Partition leaders are not demoted during kraft controlled shutdown
[ https://issues.apache.org/jira/browse/KAFKA-14296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gustafson resolved KAFKA-14296.
-------------------------------------
Fix Version/s: 3.4.0
3.3.2
Resolution: Fixed
> Partition leaders are not demoted during kraft controlled shutdown
> ------------------------------------------------------------------
>
> Key: KAFKA-14296
> URL: https://issues.apache.org/jira/browse/KAFKA-14296
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 3.3.1
> Reporter: David Jacot
> Assignee: David Jacot
> Priority: Major
> Fix For: 3.4.0, 3.3.2
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)