[ 
https://issues.apache.org/jira/browse/HDDS-12936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018682#comment-18018682
 ] 

Szabolcs Gál commented on HDDS-12936:
-------------------------------------

This issue was also fixed by https://issues.apache.org/jira/browse/HDDS-11974

> Consider hdds.scm.safemode.threshold.pct in RatisContainerSafemodeRule
> ----------------------------------------------------------------------
>
>                 Key: HDDS-12936
>                 URL: https://issues.apache.org/jira/browse/HDDS-12936
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Nandakumar
>            Assignee: Szabolcs Gál
>            Priority: Major
>
> In the new {{validate}} logic of {{RatisContainerSafeModeRule}}, 
> {{hdds.scm.safemode.threshold.pct}} is not considered.
> {code}
>     final List<ContainerInfo> containers = containerManager.getContainers(
>         ReplicationType.RATIS);
>     return containers.stream()
>         .filter(this::isClosed)
>         .map(ContainerInfo::containerID)
>         .noneMatch(this::isMissing);
> {code}
> We should consider {{hdds.scm.safemode.threshold.pct}} while validating the 
> {{RatisContainerSafeModeRule}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to