[
https://issues.apache.org/jira/browse/KAFKA-15532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin McCabe resolved KAFKA-15532.
----------------------------------
Resolution: Fixed
> 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
> Assignee: David Arthur
> Priority: Minor
>
> 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)