Clinton R.Holzheuser created HELIX-821:
------------------------------------------
Summary: 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: Shi Lu
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)