David Arthur created KAFKA-15532: ------------------------------------ Summary: ZkWriteBehindLag should not be reported by inactive controllers Key: KAFKA-15532 URL: https://issues.apache.org/jira/browse/KAFKA-15532 Project: Kafka Issue Type: Bug Affects Versions: 3.6.0 Reporter: David Arthur
Since only the active controller is performing the dual-write to ZK during a migration, it should be the only controller to report the ZkWriteBehindLag metric. Currently, if the controller fails over during a migration, the previous active controller will incorrectly report its last value for ZkWriteBehindLag forever. Instead, it should report zero. -- This message was sent by Atlassian Jira (v8.20.10#820010)