Binglin Chang has uploaded a new change for review. http://gerrit.cloudera.org:8080/1759
Change subject: Make peer responsive when remote bootstrap is in progress ...................................................................... Make peer responsive when remote bootstrap is in progress This commit fix a bug in remote bootstrap, when master send remote bootstrap request to a new peer, it treat this rpc as fire-and-forget, and last_successful_communication_time is not updated, so if remote bootstrap lasts more than peer timeout time, this peer will be evicted and leader will try to remote bootstrap on a new peer, which will timeout again probably. Also during remote bootstrap lots of logs are printed, so some log level are changed from INFO to VLOG1. Change-Id: Ic41f2ad31c437f6ab976987262d8b35f9aa9f3ad --- M src/kudu/consensus/consensus_peers.cc M src/kudu/consensus/consensus_queue.cc M src/kudu/tserver/remote_bootstrap_session.cc 3 files changed, 21 insertions(+), 7 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/59/1759/1 -- To view, visit http://gerrit.cloudera.org:8080/1759 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic41f2ad31c437f6ab976987262d8b35f9aa9f3ad Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Binglin Chang <[email protected]>
