adoroszlai commented on code in PR #4758:
URL: https://github.com/apache/ozone/pull/4758#discussion_r1202569024
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/WritableECContainerProvider.java:
##########
@@ -159,6 +160,16 @@ public ContainerInfo getContainer(final long size,
}
}
+ private int getMinimumPipelines(ECReplicationConfig repConfig) {
Review Comment:
I was thinking we can improve it later by calculating it on certain events,
e.g. node report and node state change.
Thanks for spotting the synchronized block, I moved the calculation outside
of it.
--
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]