You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@helix.apache.org by "Hunter L (JIRA)" <ji...@apache.org> on 2018/09/25 17:20:00 UTC

[jira] [Created] (HELIX-754) TASK: Fix LiveInstanceCurrentState change flag

Hunter L created HELIX-754:
------------------------------

             Summary: 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


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)