Siddhant Sangwan created HDDS-10085:
---------------------------------------
Summary: Improve Method Name in ContainerBalancerSelectionCriteria
Key: HDDS-10085
URL: https://issues.apache.org/jira/browse/HDDS-10085
Project: Apache Ozone
Issue Type: Sub-task
Components: SCM
Reporter: Siddhant Sangwan
Assignee: Siddhant Sangwan
Fix For: 1.5.0
The following method:
{code}
private boolean isECContainer(ContainerInfo container) {
return container.getReplicationType().equals(HddsProtos.ReplicationType.EC)
&& replicationManager.getConfig().isLegacyEnabled();
}
{code}
should really be called something like isECContainerAndLegacyRMEnabled.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]