[
https://issues.apache.org/jira/browse/HDDS-10085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-10085:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
> 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]