Song Jiacheng has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20264


Change subject: [tools] KUDU-3487 Rebalancer do not send LeaderStepDown request 
if voter number is 1. Replace rebalance for the tables whose replication factor 
is 1 might stuck for a long time because the rebalancer send LeaderStepDown 
request even if there is no other v
......................................................................

[tools] KUDU-3487 Rebalancer do not send LeaderStepDown request if voter number 
is 1.
Replace rebalance for the tables whose replication factor is 1 might stuck for 
a long time because the rebalancer send LeaderStepDown request even if there is 
no other voter to transfer leadership.
So check the voter num before sending the request.

Change-Id: I3b3d5dfb383719f56a2d32b62d2b659b17928794
---
M src/kudu/tools/tool_replica_util.cc
1 file changed, 3 insertions(+), 1 deletion(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b3d5dfb383719f56a2d32b62d2b659b17928794
Gerrit-Change-Number: 20264
Gerrit-PatchSet: 1
Gerrit-Owner: Song Jiacheng <[email protected]>

Reply via email to