[
https://issues.apache.org/jira/browse/HDDS-12937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Szabolcs Gál resolved HDDS-12937.
---------------------------------
Resolution: Fixed
> 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
> Assignee: Szabolcs Gál
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]