adoroszlai commented on code in PR #4715:
URL: https://github.com/apache/ozone/pull/4715#discussion_r1193518783


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/ReplicationServer.java:
##########
@@ -174,6 +194,20 @@ public static final class ReplicationConfig {
     )
     private double outOfServiceFactor = OUTOFSERVICE_FACTOR_DEFAULT;
 
+    @Config(key = "server.workers", defaultValue = "10", description = "server 
workers.", tags = {
+        DATANODE, MANAGEMENT})
+    private int replicationServerWorkers;
+
+    public int getReplicationServerWorkers() {
+      return replicationServerWorkers;
+    }
+
+    public ReplicationConfig setReplicationServerWorkers(
+        int replicationServerWorkers) {
+      this.replicationServerWorkers = replicationServerWorkers;
+      return this;
+    }
+

Review Comment:
   I'm not sure we need a separate config property for this.  Maybe it's better 
to use `replicationMaxStreams`, which is currently only used in 
`ReplicationSupervisor`.



-- 
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]

Reply via email to