[ 
https://issues.apache.org/jira/browse/IGNITE-26063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roman Puchkovskiy updated IGNITE-26063:
---------------------------------------
    Description: 
Here is the scenario:
 # A cluster is initialized and works for some time (accepting writes and so on)
 # Then, one node is stopped
 # Its work dir is cleaned (all its contents is deleted) (but local 
configuration is not removed, so the node keeps the same consistent ID)
 # The node is started again
 # The node should
 ## either join the cluster with the same name it had and be initialized from 
it and function correctly
 ## or refuse to start with a proper error message

The node should not simply be stuck forever during join on step 4.

A research is needed on whether we have some code/protocols that will be broken 
by such a sequence of events.

A couple of issues that are already identified:
 # If the node in question was the only CMG node, then, currently, it will not 
be able to join (as it has no idea that it should be a CMG node, and only a CMG 
leader sends an invitation to join to a node that appears in the physical 
topology, and there is no CMG leader in cluster). We could detect such a 
situation and either fail start with a proper message, or do CMG Disaster 
Recovery automatically (if we just failed to start, this is what the user would 
have to do anyway)
 # If the node in question was the only MG node, then, with current behavior, 
it will create an MG split brain. It's hard to tell without researching what 
will be the outcome, but in the worst case this will kill Metastore contents in 
the whole cluster. We should detect such situations and fail node start before 
the node starts MG raft group
 # Not sure what happens if the given node is the only voting member of a 
table/zone group which also has learners, this should be investigated.

> Support 'work dir wipe out' scenario
> ------------------------------------
>
>                 Key: IGNITE-26063
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26063
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>
> Here is the scenario:
>  # A cluster is initialized and works for some time (accepting writes and so 
> on)
>  # Then, one node is stopped
>  # Its work dir is cleaned (all its contents is deleted) (but local 
> configuration is not removed, so the node keeps the same consistent ID)
>  # The node is started again
>  # The node should
>  ## either join the cluster with the same name it had and be initialized from 
> it and function correctly
>  ## or refuse to start with a proper error message
> The node should not simply be stuck forever during join on step 4.
> A research is needed on whether we have some code/protocols that will be 
> broken by such a sequence of events.
> A couple of issues that are already identified:
>  # If the node in question was the only CMG node, then, currently, it will 
> not be able to join (as it has no idea that it should be a CMG node, and only 
> a CMG leader sends an invitation to join to a node that appears in the 
> physical topology, and there is no CMG leader in cluster). We could detect 
> such a situation and either fail start with a proper message, or do CMG 
> Disaster Recovery automatically (if we just failed to start, this is what the 
> user would have to do anyway)
>  # If the node in question was the only MG node, then, with current behavior, 
> it will create an MG split brain. It's hard to tell without researching what 
> will be the outcome, but in the worst case this will kill Metastore contents 
> in the whole cluster. We should detect such situations and fail node start 
> before the node starts MG raft group
>  # Not sure what happens if the given node is the only voting member of a 
> table/zone group which also has learners, this should be investigated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to