GitHub user narendly opened a pull request:
https://github.com/apache/helix/pull/268
TASK: Fix AssignableInstanceComparator so that it sorts unsupported quota
types
â¦nsupported quota types
Currently, if the quota type does not exist, it will not sort
AssignableInstances based on availability. This does not cause immediate
problems, but it would be nice to have them sorted because we now allow
unsupported quota types run as DEFAULT type.
Changelist:
1. Comparator sorts AssignableInstances in a PriorityQueue by DEFAULT
type's availability when the quota type given is unsupported
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/narendly/helix 7ef2944
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/helix/pull/268.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 #268
----
commit 366b25a462032a1b22ed8d25430a561dbc2f332e
Author: Hunter Lee <hulee@...>
Date: 2018-09-19T17:11:31Z
[HELIX-751] TASK: Fix AssignableInstanceComparator so that it sorts
unsupported quota types
Currently, if the quota type does not exist, it will not sort
AssignableInstances based on availability. This does not cause immediate
problems, but it would be nice to have them sorted because we now allow
unsupported quota types run as DEFAULT type.
Changelist:
1. Comparator sorts AssignableInstances in a PriorityQueue by DEFAULT
type's availability when the quota type given is unsupported
----
---