siddhantsangwan opened a new pull request, #5957:
URL: https://github.com/apache/ozone/pull/5957
## What changes were proposed in this pull request?
Renamed the following method to `isECContainerAndLegacyRMEnabled`.
`isECContainer` was misleading, because Container Balancer supports balancing
EC containers. This PR only changes the method names and updates java doc. No
logic change.
```
private boolean isECContainer(ContainerInfo container) {
return
container.getReplicationType().equals(HddsProtos.ReplicationType.EC)
&& replicationManager.getConfig().isLegacyEnabled();
}
```
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10085
## How was this patch tested?
Ran existing tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]