[ 
https://issues.apache.org/jira/browse/IGNITE-13577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17222095#comment-17222095
 ] 

Ignite TC Bot commented on IGNITE-13577:
----------------------------------------

{panel:title=Branch: [pull/8371/head] Base: [master] : Possible Blockers 
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Cache (Restarts) 1{color} [[tests 0 TIMEOUT , Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=5697429]]

{panel}
{panel:title=Branch: [pull/8371/head] Base: [master] : New Tests 
(6)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}ZooKeeper (Discovery) 1{color} [[tests 
6|https://ci.ignite.apache.org/viewLog.html?buildId=5697463]]
* {color:#013220}ZookeeperDiscoverySpiTestSuite1: 
ZookeeperDiscoveryRandomStopOrFailConcurrentTest.testStopOrFailConcurrently[stop
 mode = FAIL_ONLY, with crd = false] - PASSED{color}
* {color:#013220}ZookeeperDiscoverySpiTestSuite1: 
ZookeeperDiscoveryRandomStopOrFailConcurrentTest.testStopOrFailConcurrently[stop
 mode = FAIL_ONLY, with crd = true] - PASSED{color}
* {color:#013220}ZookeeperDiscoverySpiTestSuite1: 
ZookeeperDiscoveryRandomStopOrFailConcurrentTest.testStopOrFailConcurrently[stop
 mode = RANDOM, with crd = false] - PASSED{color}
* {color:#013220}ZookeeperDiscoverySpiTestSuite1: 
ZookeeperDiscoveryRandomStopOrFailConcurrentTest.testStopOrFailConcurrently[stop
 mode = RANDOM, with crd = true] - PASSED{color}
* {color:#013220}ZookeeperDiscoverySpiTestSuite1: 
ZookeeperDiscoveryRandomStopOrFailConcurrentTest.testStopOrFailConcurrently[stop
 mode = STOP_ONLY, with crd = false] - PASSED{color}
* {color:#013220}ZookeeperDiscoverySpiTestSuite1: 
ZookeeperDiscoveryRandomStopOrFailConcurrentTest.testStopOrFailConcurrently[stop
 mode = STOP_ONLY, with crd = true] - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5695927&buildTypeId=IgniteTests24Java8_RunAll]

> Add support to graceful shutdown for ZookeeperDiscoverySpi
> ----------------------------------------------------------
>
>                 Key: IGNITE-13577
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13577
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Ivan Daschinskiy
>            Assignee: Ivan Daschinskiy
>            Priority: Major
>          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 EPHEMERAL *latch* znode with path /<root>/nl/<node_id> and set 
> watcher on it
> # *LN* delete own znode in /<root>/n as usual.
> # *LN* blocks with timeout stop until *latch* exists.
> # *CRD* receives notification and check if exists *latch* for this node
> #  *CRD* generate NODE_LEFT event with flag fail=false, otherwise fail=true
> # *N* acks events.
> # *CRD* on receiving all acks remove *latch* for leaving node if exists.
> # *LN* receives notification and proceed with node stop.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to