[
https://issues.apache.org/jira/browse/RATIS-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated RATIS-2296:
------------------------------
Description:
Setting the Raft group size to an even number for HA does not make sense. As
an example, support group size is 4. It only can tolerate 1 failure, which is
the same as group size 3. However, It is harder to get the majority comparing
to group size 3 -- it requires 3 instead of 2.
We should just fail it when setting a Raft group to an even number. This is a
configurable feature
was:
Setting the Raft group size to an even number for HA does not make sense. As
an example, support group size is 4. It only can tolerate 1 failure, which is
the same as group size 3. However, It is harder to get the majority comparing
to group size 3 -- it requires 3 instead of 2.
We should just fail it when setting a Raft group to an even number.
Summary: Disallow setting Raft group size to an even number (was: SCM
and OM should not allow changing Raft group size to an even number)
[~ivanandika], let's move this to Ratis and make it configurable.
> Disallow setting Raft group size to an even number
> --------------------------------------------------
>
> Key: RATIS-2296
> URL: https://issues.apache.org/jira/browse/RATIS-2296
> Project: Ratis
> Issue Type: Improvement
> Components: raft-group
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> Setting the Raft group size to an even number for HA does not make sense. As
> an example, support group size is 4. It only can tolerate 1 failure, which
> is the same as group size 3. However, It is harder to get the majority
> comparing to group size 3 -- it requires 3 instead of 2.
> We should just fail it when setting a Raft group to an even number. This is
> a configurable feature
--
This message was sent by Atlassian Jira
(v8.20.10#820010)