SaketaChalamchala commented on code in PR #6309:
URL: https://github.com/apache/ozone/pull/6309#discussion_r1513335091
##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java:
##########
@@ -76,8 +74,11 @@ public class BlockInputStream extends
BlockExtendedInputStream {
private XceiverClientSpi xceiverClient;
private boolean initialized = false;
// TODO: do we need to change retrypolicy based on exception.
- private final RetryPolicy retryPolicy =
- HddsClientUtils.createRetryPolicy(3, TimeUnit.SECONDS.toMillis(1));
+ // Default retry, retry for DN connectivity issues & what else?
+ private final RetryPolicy retryPolicy = getRetryPolicy();
+ //=
+ // HddsClientUtils.createRetryPolicy(3, TimeUnit.SECONDS.toMillis(1));
Review Comment:
Done.
--
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]