smengcl commented on code in PR #6768:
URL: https://github.com/apache/ozone/pull/6768#discussion_r1628700198


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/ratis/conf/RatisClientConfig.java:
##########
@@ -98,6 +98,21 @@ public void setRpcWatchRequestTimeout(Duration duration) {
     }
   }
 
+  @Config(key = "client.request.watch.type",
+      defaultValue = "ALL_COMMITTED",
+      type = ConfigType.STRING,
+      tags = { OZONE, CLIENT, PERFORMANCE },
+      description = "The RATIS watch commit type, ALL_COMMITTED or 
MAJORITY_COMMITTED.")

Review Comment:
   ```suggestion
         description = "Desired replication level when Ozone client's Raft 
client calls watch(). ALL_COMMITTED or MAJORITY_COMMITTED. MAJORITY_COMMITTED 
increases write performance by reducing watch() latency when an Ozone datanode 
is slow in a pipeline, at the cost of potentially increasing read latency due 
to retries.")
   ```



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