GitHub user liyinan926 opened a pull request:

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

    Added new DataSource values LIVEINSTANCES and INSTANCES and made 
CriteriaEvaluator support them

    Currently there are two types of `DataSource`:  `EXTERNALVIEW` and 
`IDEALSTATES`. However, they don't work well with the task execution framework 
for which tasks as resources may come and go. An issue I noticed and also 
confirmed with @lei-xia and @kishoreg is broadcasting a user-defined message to 
a group of participants does not work since the `CriteriaEvaluator` selects 
nothing after evaluating a criteria that targets all participants. 
    
    This PR adds two new `DataSource` types: `LIVEINSTANCES` and `INSTANCES` 
and made `CriteriaEvaluator` support them.
     
    Signed-off-by: Yinan Li <[email protected]>

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

    $ git pull https://github.com/liyinan926/helix master

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

    https://github.com/apache/helix/pull/34.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 #34
    
----
commit 70962a0de5a58569e3f4f4d3f9533f540783db66
Author: Yinan Li <[email protected]>
Date:   2015-08-28T20:33:04Z

    Added new DataSource values LIVEINSTANCES and INSTANCES and made 
CriteriaEvaluator support them
    
    Signed-off-by: Yinan Li <[email protected]>

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to