You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "NIKHIL (Jira)" <ji...@apache.org> on 2020/06/05 06:07:00 UTC

[jira] [Updated] (KAFKA-10106) log time taken to handle LeaderAndIsr request

     [ https://issues.apache.org/jira/browse/KAFKA-10106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

NIKHIL updated KAFKA-10106:
---------------------------
    Priority: Minor  (was: Trivial)

> 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
>            Priority: Minor
>   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)