You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2019/07/31 21:42:00 UTC

[jira] [Commented] (RATIS-615) StateMachine#notifyExtendedNoLeader is not called when all the nodes in the raft ring are isolated

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

Aravindan Vijayan commented on RATIS-615:
-----------------------------------------

[~nandakumar131] On my local setup (latest ozone trunk), I am not able to repro this issue even after multiple tries. I see that the pipeline is being closed correctly. 

{code}
2019-07-31 14:39:21,443|INFO|MainThread|util.py:57 - run_command()|originNodeId: 8450b86a-2990-409e-a44e-c1831bb07671

2019-07-31 14:39:21,443|INFO|MainThread|util.py:57 - run_command()|originPipelineId: 86a864ee-b888-4a77-bae9-94290b87dd79

2019-07-31 14:39:21,443|INFO|MainThread|util.py:57 - run_command()|state: CLOSING
{code}


{code}
2019-07-31 14:40:42,422|INFO|MainThread|conftest.py:96 - pytest_report_teststatus()|TEST "test_datanode_isolation_all" PASSED in 145.96 seconds
.2019-07-31 14:40:43,627|INFO|MainThread|cluster.py:295 - stop()|Stopping Ozone Cluster
Stopping ozoneblockade_datanode_1     ... done
Stopping ozoneblockade_datanode_3     ... done
Stopping ozoneblockade_datanode_2     ... done
Stopping ozoneblockade_om_1           ... done
Stopping ozoneblockade_scm_1          ... done
Stopping ozoneblockade_ozone_client_1 ... done
Removing ozoneblockade_datanode_1     ... done
Removing ozoneblockade_datanode_3     ... done
Removing ozoneblockade_datanode_2     ... done
Removing ozoneblockade_om_1           ... done
Removing ozoneblockade_scm_1          ... done
Removing ozoneblockade_ozone_client_1 ... done
Removing network ozoneblockade_default
2019-07-31 14:40:46,454|INFO|MainThread|blockade.py:31 - blockade_destroy()|Running blockade destroy
2019-07-31 14:40:47,751|INFO|MainThread|conftest.py:104 - pytest_sessionfinish()|ALL TESTS FINISHED
2019-07-31 14:40:47,751|INFO|MainThread|conftest.py:105 - pytest_sessionfinish()|ALL logs present in following directory: /tmp/BlockadeTests/1564609073
{code}

> StateMachine#notifyExtendedNoLeader is not called when all the nodes in the raft ring are isolated
> --------------------------------------------------------------------------------------------------
>
>                 Key: RATIS-615
>                 URL: https://issues.apache.org/jira/browse/RATIS-615
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>            Reporter: Nanda kumar
>            Assignee: Aravindan Vijayan
>            Priority: Blocker
>              Labels: blockade, ozone
>
> When all the nodes in the raft ring are isolated (network partition) {{StateMachine#notifyExtendedNoLeader}} is not getting called.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)