Yifan Zhang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14849


Change subject: KUDU-2992: Avoid sending duplicated requests in catalog_manager
......................................................................

KUDU-2992: Avoid sending duplicated requests in catalog_manager

When the master sent a large number of rpc requests to a tserver,
and the tserver didn't response immediately, catalog manager may
continue to send duplicate requests in ProcessTabletReport(), that
would cause rpc timeouts and high load on both masters and tservers.

This patch use task description to identify a unique rpc task,
catalog manager would not send duplicate request if the same task
didn't complete.

This patch also fix HandleResponse() in AsyncDeleteReplica to avoid
unnecessary retries.

Change-Id: If090723821bd78e14a3c54a35cb5e471320002e9
---
M src/kudu/master/catalog_manager.cc
M src/kudu/master/catalog_manager.h
M src/kudu/tserver/ts_tablet_manager.cc
M src/kudu/tserver/ts_tablet_manager.h
4 files changed, 43 insertions(+), 24 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/49/14849/1
--
To view, visit http://gerrit.cloudera.org:8080/14849
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If090723821bd78e14a3c54a35cb5e471320002e9
Gerrit-Change-Number: 14849
Gerrit-PatchSet: 1
Gerrit-Owner: Yifan Zhang <[email protected]>

Reply via email to