David Arthur created KAFKA-15441: ------------------------------------ Summary: Broker sessions can time out during ZK migration Key: KAFKA-15441 URL: https://issues.apache.org/jira/browse/KAFKA-15441 Project: Kafka Issue Type: Bug Affects Versions: 3.6.0 Reporter: David Arthur Assignee: David Arthur
When a ZK to KRaft migration takes more than a few seconds to complete, the sessions between the ZK brokers and the KRaft controller will expire. This appears to be due to the heartbeat events being blocked in the purgatory on the controller. The side effect of this expiration is that after the metadata is migrated, the KRaft controller will immediately fence all of the brokers and remove them from ISRs. This leads to a mass leadership change that can cause large latency spikes on the brokers. -- This message was sent by Atlassian Jira (v8.20.10#820010)