z-bb commented on code in PR #5216:
URL: https://github.com/apache/ozone/pull/5216#discussion_r1322747453
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/replication/ReplicationServer.java:
##########
@@ -180,6 +185,18 @@ public static final class ReplicationConfig {
)
private int replicationMaxStreams = REPLICATION_MAX_STREAMS_DEFAULT;
+ /**
+ * The maximum of replication request queue length.
+ */
+ @Config(key = QUEUE_LIMIT,
+ type = ConfigType.INT,
+ defaultValue = "4096",
Review Comment:
> I guess 4096 this value is picked for the moment based on experience,
@z-bb , right? And Guangbao, do you remember the the biggest queue length you
have ever seen before without the queue limitation imposed?
@ChenSammi Yes, based on experience, we plan to add a monitor for the queue
length. I will confirm this value later.
--
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]