commit | ec3568d5df47d2588ea0e0bb91b24bb35b2f9a88 | [log] [tgz] |
---|---|---|
author | Jiajun Wang <1803880+jiajunwang@users.noreply.github.com> | Mon Jan 27 14:07:14 2020 -0800 |
committer | Jiajun Wang <1803880+jiajunwang@users.noreply.github.com> | Fri Feb 07 12:24:22 2020 -0800 |
tree | 9718878c630f4d994efb5f2e3161e7c6e946ebe3 | |
parent | 71c79fd82c0bd4166fce5ae8ef44a7709a9d0ffa [diff] |
Reset the WAGED rebalancer once the controller newly acquires leadership. (#690) This is to prevent any cached assignment information which is recorded during the previous session from impacting the rebalance result. Detailed change list: Move the stateful WAGED rebalancer to the GenericHelixController object instead of the rebalance stage. This is for resolving the possible race condition between the event processing thread and leader switch handling thread. Adding a new test regarding leadership switch to verify that the WAGED rebalancer has been reset after the processing.
Helix is part of the Apache Software Foundation.
Project page: http://helix.apache.org/
Mailing list: http://helix.apache.org/mail-lists.html
mvn clean install package -DskipTests
Helix is a generic cluster management framework used for automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features: