Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14742 )
Change subject: rebalancer: fix on Runner::UpdateMovesInProgressStatus() ...................................................................... rebalancer: fix on Runner::UpdateMovesInProgressStatus() This patch added a new parameter 'has_pending_moves' for Runner::UpdateMovesInProgressStatus(), see the comments for this method. Before this patch, the return value of this method was ambiguous, and there was a bug in PolicyFixer: When no pending operation completed, the rebalancer tool would try to get a new set of moves from the algorithm and perform it. Now, the rebalancer would do this only in case of an error or no pending movement. Change-Id: I8a25574d13f36a8f4f98f4340aa2086711b1c741 Reviewed-on: http://gerrit.cloudera.org:8080/14742 Reviewed-by: Alexey Serbin <[email protected]> Tested-by: Kudu Jenkins --- M src/kudu/rebalance/rebalancer.h M src/kudu/tools/rebalancer_tool.cc M src/kudu/tools/rebalancer_tool.h 3 files changed, 36 insertions(+), 20 deletions(-) Approvals: Alexey Serbin: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/14742 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I8a25574d13f36a8f4f98f4340aa2086711b1c741 Gerrit-Change-Number: 14742 Gerrit-PatchSet: 3 Gerrit-Owner: Yifan Zhang <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Yifan Zhang <[email protected]>
