You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/02/11 04:11:00 UTC

[jira] [Resolved] (KUDU-2996) Log trace when --rpc_duration_too_long_ms is exceeded

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

Tim Armstrong resolved KUDU-2996.
---------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

> Log trace when --rpc_duration_too_long_ms is exceeded
> -----------------------------------------------------
>
>                 Key: KUDU-2996
>                 URL: https://issues.apache.org/jira/browse/KUDU-2996
>             Project: Kudu
>          Issue Type: Improvement
>          Components: rpc
>            Reporter: Tim Armstrong
>            Assignee: Tim Armstrong
>            Priority: Major
>             Fix For: 1.12.0
>
>
> According to a conversation with [~adar], the usual way to get a trace for a slow RPC in Kudu is to set a deadline.
> In Impala we don't use RPC deadlines, so would like to get RPC traces when --rpc_duration_too_long_ms is exceeded. In this case there is already logging, but only metrics are included: https://github.com/cloudera/kudu/blob/978cf39/src/kudu/rpc/rpcz_store.cc#L268
> We should log the trace in this case. Adar pointed out that we should not log a redundant trace if it was already logged for the RPC deadline.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)