ChenSammi commented on code in PR #6772:
URL: https://github.com/apache/ozone/pull/6772#discussion_r1627218807


##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/conf/DatanodeRatisServerConfig.java:
##########
@@ -54,14 +54,16 @@ public void setRequestTimeOut(Duration duration) {
   }
 
   @Config(key = "watch.timeout",
-      defaultValue = "180s",
+      defaultValue = "10s",
       type = ConfigType.TIME,
       tags = {OZONE, DATANODE, RATIS},
       description = "The timeout duration for watch request on Ratis Server. " 
+
           "Timeout for the watch request in Ratis server to acknowledge a " +
-          "particular request is replayed to all servers."
+          "particular request is replayed to all servers. It is highly 
recommended " +
+          "for the timeout duration to be strictly shorter than Ratis client 
watch timeout " +
+          "(hdds.ratis.raft.client.rpc.watch.request.timeout)."
   )
-  private long watchTimeOut = Duration.ofSeconds(180).toMillis();
+  private long watchTimeOut = Duration.ofSeconds(10).toMillis();

Review Comment:
   I see. Thanks for the explanation. It's OK to keep the getWatchTimeOut. 



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