[
https://issues.apache.org/jira/browse/HELIX-754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hunter L closed HELIX-754.
--------------------------
Resolution: Fixed
> TASK: Fix LiveInstanceCurrentState change flag
> ----------------------------------------------
>
> Key: HELIX-754
> URL: https://issues.apache.org/jira/browse/HELIX-754
> Project: Apache Helix
> Issue Type: Improvement
> Reporter: Hunter L
> Assignee: Hunter L
> Priority: Major
>
> Previously, existsLiveInstanceOrCurrentStateChange was getting reset in
> ClusterDataCache when its getter was called. This was problematic because if
> there were multiple jobs or multiple workflows, whoever calls this getter
> would get the correct flag value, and the ensuing callers would get a false
> because the flag would have been reset. This RB fixes that bug by reseting
> the flat right in the beginning of refresh() call in ClusterDataCache, which
> allows all callers during that pipeline would get the same, correct value.
> Changelist:
> 1. Change the getter so that it does not reset the flag; instead, reset the
> flag in the beginning of refresh()
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)