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-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to