[
https://issues.apache.org/jira/browse/HELIX-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413945#comment-17413945
]
Junkai Xue commented on HELIX-821:
----------------------------------
[~PapaWarCoin] We introduced the freeze mode which may help you on this. The
freeze mode can let participant skip RESET logic.
> CLONE - Allow partitions to be dropped automatically when their instance dies
> ------------------------------------------------------------------------------
>
> Key: HELIX-821
> URL: https://issues.apache.org/jira/browse/HELIX-821
> Project: Apache Helix
> Issue Type: Improvement
> Components: helix-core
> Affects Versions: 0.6.0-incubating
> Reporter: Clinton R.Holzheuser
> Assignee: Junkai Xue
> Priority: Minor
>
> Currently, when creating a session for a new participant, Helix resets
> current states of all assigned partitions from previous session of the same
> participant to the initial state. This may be undesirable for deployments
> where Helix session and assigned partitions by the participant are tightly
> coupled. In such a setup, when a participant loses a session, it also loses
> all associated partitions. The current behavior triggers transitions back to
> the ideal state which may or may not be desirable. Possible workarounds:
> (1) update ideal state to DROPPED on noticing that an instance is not live
> anymore
> (2) (suggested by Kishore) safely clear state from old participant session
> before creating a new session. I'm using this one and so far it's working OK
> for me.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)