hanishakoneru commented on a change in pull request #51: HDDS-2311. Fix logic 
of RetryPolicy in OzoneClientSideTranslatorPB.
URL: https://github.com/apache/hadoop-ozone/pull/51#discussion_r336639521
 
 

 ##########
 File path: 
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocolPB/OzoneManagerProtocolClientSideTranslatorPB.java
 ##########
 @@ -241,32 +237,28 @@ public RetryAction shouldRetry(Exception exception, int 
retries,
           throws Exception {
 
 Review comment:
   In case of NotLeaderException, the failover count will not increase as we 
failover manually and give RetryAction=Retry. In the other case, the retry and 
failover count will always be equal as the action is FailoverAndRetry.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to