[ https://issues.apache.org/jira/browse/KAFKA-13193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin McCabe resolved KAFKA-13193. ---------------------------------- Resolution: Fixed > Replica manager doesn't update partition state when transitioning from leader > to follower with unknown leader > ------------------------------------------------------------------------------------------------------------- > > Key: KAFKA-13193 > URL: https://issues.apache.org/jira/browse/KAFKA-13193 > Project: Kafka > Issue Type: Bug > Components: kraft, replication > Reporter: Jose Armando Garcia Sancio > Assignee: Jose Armando Garcia Sancio > Priority: Major > Labels: kip-500 > > This issue applies to both the ZK and KRaft implementation of the replica > manager. In the rare case when a replica transition from leader to follower > with no leader the partition state is not updated. > This is because when handling makeFollowers the ReplicaManager only updates > the partition state if the leader is alive. The solution is to always > transition to follower but not start the fetcher thread if the leader is > unknown or not alive. -- This message was sent by Atlassian Jira (v8.20.1#820001)