Andrew Wong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/17032 )

Change subject: rpc: reduce logging when server is shutting down
......................................................................

rpc: reduce logging when server is shutting down

TxnCommitITest.TestRestartingWhileCommittingAndDeleting exercises the
case where the client RPCs are sent to the tserver as the tserver is
shutting down. This results in several log messages like:

I0205 05:01:20.190737  1310 messenger.cc:384] service 
kudu.tserver.TabletServerAdminService not registered on TabletServer
I0205 05:01:20.190891  1310 messenger.cc:384] service 
kudu.tserver.TabletServerAdminService not registered on TabletServer
I0205 05:01:20.194700  1310 messenger.cc:384] service 
kudu.tserver.TabletServerAdminService not registered on TabletServer

until the RPC timeout is reached. This message only seems interesting to
clients in cases outside the normal operation of a cluster, e.g. if the
endpoint actually doesn't exist, versus if we're just starting up or
shutting down. This patch adjusts the logging to reflect that.

Change-Id: I943a192bc12e3bae534b9129ac4ea8d24404adc6
Reviewed-on: http://gerrit.cloudera.org:8080/17032
Reviewed-by: Hao Hao <[email protected]>
Tested-by: Andrew Wong <[email protected]>
---
M src/kudu/rpc/messenger.cc
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Hao Hao: Looks good to me, approved
  Andrew Wong: Verified

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I943a192bc12e3bae534b9129ac4ea8d24404adc6
Gerrit-Change-Number: 17032
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to