Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/16868 )

Change subject: [rpc] add slow timing logging for WrapSaslCall
......................................................................

[rpc] add slow timing logging for WrapSaslCall

In the context of KUDU-3217, this patch adds logging on slow SASL calls.

The reason for setting threshold of 250ms is that 250ms is more than
enough for a local call, and it should be long enough for a call to
a robust KDC in the local network.

Change-Id: I3f8cff71c35a4aab0307456b1dc4270520966ece
Reviewed-on: http://gerrit.cloudera.org:8080/16868
Reviewed-by: Grant Henke <[email protected]>
Reviewed-by: Bankim Bhavsar <[email protected]>
Tested-by: Kudu Jenkins
---
M src/kudu/rpc/client_negotiation.cc
M src/kudu/rpc/client_negotiation.h
M src/kudu/rpc/sasl_common.cc
M src/kudu/rpc/sasl_common.h
M src/kudu/rpc/server_negotiation.cc
M src/kudu/thrift/sasl_client_transport.cc
6 files changed, 64 insertions(+), 36 deletions(-)

Approvals:
  Grant Henke: Looks good to me, approved
  Bankim Bhavsar: Looks good to me, approved
  Kudu Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/16868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3f8cff71c35a4aab0307456b1dc4270520966ece
Gerrit-Change-Number: 16868
Gerrit-PatchSet: 5
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)

Reply via email to