Hunter L created HELIX-745: ------------------------------ Summary: [TASK] Make AssignableInstanceManager listen on data changes to update AssignableInstances Key: HELIX-745 URL: https://issues.apache.org/jira/browse/HELIX-745 Project: Apache Helix Issue Type: Improvement Reporter: Hunter L
Previously, although AssignableInstanceManager provided an API for updating its AssignableInstances, this API was not being called at all. This RB fixes this. Changelist: 1. Add a boolean flag in ClusterDataCache for LiveInstance, ClusterConfig, InstanceConfig changes 2. If the ClusterDataCache is a taskDataCache, call AssignableInstanceManager.updateAssignableInstances() when the said boolean flag is true 3. Use thread-safe map in AssignableInstanceManager 4. Address the issue of targeted tasks having null taskIds (use pName convention instead) 5. Address the issue of LiveInstanceChange not notifying the caches by explicitly using setLiveInstance() function 6. Fix bug in restoreTaskAssignResult where tasks with null quota type were not being restored properly -- This message was sent by Atlassian JIRA (v7.6.3#76005)