[ https://issues.apache.org/jira/browse/KAFKA-10106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jun Rao resolved KAFKA-10106. ----------------------------- Fix Version/s: 2.7.0 Assignee: NIKHIL Resolution: Fixed Merged the PR to trunk. > log time taken to handle LeaderAndIsr request > ---------------------------------------------- > > Key: KAFKA-10106 > URL: https://issues.apache.org/jira/browse/KAFKA-10106 > Project: Kafka > Issue Type: Improvement > Reporter: NIKHIL > Assignee: NIKHIL > Priority: Minor > Fix For: 2.7.0 > > Original Estimate: 24h > Remaining Estimate: 24h > > ReplicaManager!becomeLeaderOrFollower handles the LeaderAndIsr request, > StateChangeLogger logs when this request is handled, however it can be useful > to log when this calls ends and record the time taken, can help > operationally. > Proposal is to ReplicaManager!becomeLeaderOrFollower start measuring the time > before the `replicaStateChangeLock` is acquired and log before the response > is returned. > -- This message was sent by Atlassian Jira (v8.3.4#803005)