adoroszlai commented on code in PR #6408:
URL: https://github.com/apache/ozone/pull/6408#discussion_r1533342552
##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/OzoneClientConfig.java:
##########
@@ -144,6 +144,23 @@ public enum ChecksumCombineMode {
tags = ConfigTag.CLIENT)
private int retryInterval = 0;
+ @Config(key = "read.max.retries",
+ defaultValue = "3",
+ description = "Maximum number of retries by Ozone Client on "
+ + "encountering connectivity exception when reading a key.",
+ tags = ConfigTag.CLIENT)
+ private int maxReadRetryCount = 3;
+
+ @Config(key = "read.retry.interval",
+ defaultValue = "1",
+ description =
+ "Indicates the time duration in seconds a client will wait "
+ + "before retrying a read key request on encountering "
+ + "a connectivity excepetion from Datanodes . "
+ + "By default the interval is 1millisecond",
Review Comment:
```suggestion
+ "By default the interval is 1 second",
```
--
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]