You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Chugunov (Jira)" <ji...@apache.org> on 2020/11/02 14:57:00 UTC
[jira] [Commented] (IGNITE-13577) Add support to graceful shutdown
for ZookeeperDiscoverySpi
[ https://issues.apache.org/jira/browse/IGNITE-13577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224710#comment-17224710 ]
Sergey Chugunov commented on IGNITE-13577:
------------------------------------------
[~ivandasch],
Tests of Zookeeper with the change look fine: [Zookeeper Discovery 1|https://ci.ignite.apache.org/buildConfiguration/IgniteTests24Java8_ZooKeeperDiscovery1/5706049?focusLine=0], [Zookeeper Discovery 2|https://ci.ignite.apache.org/buildConfiguration/IgniteTests24Java8_ZooKeeperDiscovery2/5706051?focusLine=0], [Zookeeper Discovery 3|https://ci.ignite.apache.org/buildConfiguration/IgniteTests24Java8_ZooKeeperDiscovery3/5706053?focusLine=0], [Zookeeper Discovery 4|https://ci.ignite.apache.org/buildConfiguration/IgniteTests24Java8_ZooKeeperDiscovery4/5706055?focusLine=0].
Change looks good to me, so I merged it to master in commit *6d9785706e4a7ca0edeccc32dc6fdf34f9143956*.
> 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
> Labels: zookeeper
> 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)