[
https://issues.apache.org/jira/browse/IGNITE-21930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-21930:
---------------------------------------
Description:
When doing a cluster init, we create a CMG RAFT group, which initializes the
shared RAFT log storage, which in turn creates the RocksDB database.
Later, the cluster init might be cancelled. When handling the cancel, the node
stops the CMG RAFT group, but the shared RAFT log storage remains initiailzed.
Its initialization parameters might depend on the init command parameters, but,
if another init command comes, the resulting CMG RAFT group (and other groups
started later, if this init finishes successfully), will still use the shared
log storage initialized with parameters from the first init, which is not
correct.
When handling an init cancellation command, after stopping the CMG RAFT group,
we need to stop and destroy the shared log storage. Maybe we'll have to make it
restartable (if it's not already restartable) to allow for subsequent inits.
> Destroy shared RAFT log storage on cluster init cancellation
> ------------------------------------------------------------
>
> Key: IGNITE-21930
> URL: https://issues.apache.org/jira/browse/IGNITE-21930
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
>
> When doing a cluster init, we create a CMG RAFT group, which initializes the
> shared RAFT log storage, which in turn creates the RocksDB database.
> Later, the cluster init might be cancelled. When handling the cancel, the
> node stops the CMG RAFT group, but the shared RAFT log storage remains
> initiailzed.
> Its initialization parameters might depend on the init command parameters,
> but, if another init command comes, the resulting CMG RAFT group (and other
> groups started later, if this init finishes successfully), will still use the
> shared log storage initialized with parameters from the first init, which is
> not correct.
> When handling an init cancellation command, after stopping the CMG RAFT
> group, we need to stop and destroy the shared log storage. Maybe we'll have
> to make it restartable (if it's not already restartable) to allow for
> subsequent inits.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)