You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Nandakumar (Jira)" <ji...@apache.org> on 2025/04/30 10:16:00 UTC

[jira] [Created] (HDDS-12937) Consider hdds.scm.safemode.threshold.pct in ECContainerSafemodeRule

Nandakumar created HDDS-12937:
---------------------------------

             Summary: Consider hdds.scm.safemode.threshold.pct in ECContainerSafemodeRule
                 Key: HDDS-12937
                 URL: https://issues.apache.org/jira/browse/HDDS-12937
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Nandakumar


In the new {{validate}} logic of {{ECContainerSafeModeRule}}, {{hdds.scm.safemode.threshold.pct}} is not considered.
{code}
    final List<ContainerInfo> containers = containerManager.getContainers(
        ReplicationType.EC);

    return containers.stream()
        .filter(this::isClosed)
        .map(ContainerInfo::containerID)
        .noneMatch(this::isMissing);
{code}

We should consider {{hdds.scm.safemode.threshold.pct}} while validating the {{ECContainerSafeModeRule}}.



--
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