[
https://issues.apache.org/jira/browse/IGNITE-13577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Daschinskiy updated IGNITE-13577:
--------------------------------------
Component/s: zookeeper
> Add support to graceful shutdown for ZookeeperDiscoverySpi
> ----------------------------------------------------------
>
> Key: IGNITE-13577
> URL: https://issues.apache.org/jira/browse/IGNITE-13577
> Project: Ignite
> Issue Type: Improvement
> Components: zookeeper
> Reporter: Ivan Daschinskiy
> Assignee: Ivan Daschinskiy
> Priority: Major
> Fix For: 2.10
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Proposed design:
> *LN* -- node that performs graceful shutdown
> *CRD* -- Leader (coordinator) of Ignite cluster
> *N* -- Other nodes of Ignite cluster.
> # *LN* create PERSISTENT *flag* znode with path /<root>/sf/<node_id>
> # *LN* delete own znode in /<root>/n as usual.
> # *CRD* receives notification and check if exists *flag* for this node
> # *CRD* generate NODE_LEFT event with flag fail=false, otherwise fail=true
> # *CRD* save event as usual, then delete *flag*.
> # *CRD* and *N* process events as usual.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)