[GitHub] helix pull request #90: [HELIX-631] Fix AutoRebalanceStrategy replica not as...

2017-05-10 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/helix/pull/90


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] helix pull request #90: [HELIX-631] Fix AutoRebalanceStrategy replica not as...

2017-05-09 Thread dasahcc
GitHub user dasahcc opened a pull request:

https://github.com/apache/helix/pull/90

[HELIX-631] Fix AutoRebalanceStrategy replica not assigned

In our current AutoRebalanceStrategy, Helix uses greedy algorithm to assign 
replicas. With the constraint that two replicas from same partition should not 
assigned to same node and nodes' capacity calculated by evenly distributed. 
Thus there may some replicas are not assigned.

With this fix, Helix will try to force assign the orphaned replicas to the 
node with minimum overload. This may cause imbalanced assignment.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dasahcc/helix helix-0.6.x

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/helix/pull/90.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #90






---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---