Hunter L created HELIX-764:
------------------------------

             Summary: [TASK] Fix LiveInstanceCurrentState change flag
                 Key: HELIX-764
                 URL: https://issues.apache.org/jira/browse/HELIX-764
             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)

Reply via email to