You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Shi Lu (JIRA)" <ji...@apache.org> on 2013/01/25 23:01:12 UTC
[jira] [Created] (HELIX-30)
ZkHelixManager.carryOverPreviousCurrentState() should use a special merge
logic
Shi Lu created HELIX-30:
---------------------------
Summary: ZkHelixManager.carryOverPreviousCurrentState() should use a special merge logic
Key: HELIX-30
URL: https://issues.apache.org/jira/browse/HELIX-30
Project: Apache Helix
Issue Type: Bug
Reporter: Shi Lu
Assignee: dafu
We have a potential race condition for ZkHelixManager.carryOverPreviousCurrentState().
It happens after addLiveInstance(), so it is possible that the participant has received some message from controller, updated current state then the currentstate is overwritten by the carry over.
when we carryover, we should provide a merge logic such that only partition keys that does not exist on the existing current state are updated. This will solve the race condition issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira