Binglin Chang has uploaded a new patch set (#2). Change subject: Mark peer responsive when remote bootstrap is in progress ......................................................................
Mark 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/2 -- To view, visit http://gerrit.cloudera.org:8080/1759 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ic41f2ad31c437f6ab976987262d8b35f9aa9f3ad Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Binglin Chang <[email protected]> Gerrit-Reviewer: Binglin Chang <[email protected]> Gerrit-Reviewer: Internal Jenkins Gerrit-Reviewer: Mike Percy <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]>
