Nandakumar created HDDS-12936:
---------------------------------
Summary: 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
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]