You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2025/05/16 01:40:00 UTC
[jira] [Comment Edited] (HDDS-13053) SCM and OM should not allow changing Raft group size to an even number
[ https://issues.apache.org/jira/browse/HDDS-13053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17951967#comment-17951967 ]
Ivan Andika edited comment on HDDS-13053 at 5/16/25 1:39 AM:
-------------------------------------------------------------
[~szetszwo] Thanks for filing this, can I ask how Raft group size check going to be run? We use OM and SCM bootstrap and decommission to migrate from one DC to another, so there will be intermediate states where there are even number Raft peers in the Raft group. Will this restriction affect this?
was (Author: JIRAUSER298977):
[~szetszwo] Thanks for filing this, can I ask how Raft group size check going to be run? We use OM and SCM bootstrap and decommission to migrate from one DC to another, so there will be intermediate states where there are even number Raft peers in the Raft group. Will this check affect this?
> SCM and OM should not allow changing Raft group size to an even number
> ----------------------------------------------------------------------
>
> Key: HDDS-13053
> URL: https://issues.apache.org/jira/browse/HDDS-13053
> Project: Apache Ozone
> Issue Type: Improvement
> Components: OM HA, SCM HA
> 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 message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org