[ 
https://issues.apache.org/jira/browse/HDDS-2311?focusedWorklogId=330261&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-330261
 ]

ASF GitHub Bot logged work on HDDS-2311:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Oct/19 03:55
            Start Date: 18/Oct/19 03:55
    Worklog Time Spent: 10m 
      Work Description: hanishakoneru commented on pull request #51: HDDS-2311. 
Fix logic of RetryPolicy in OzoneClientSideTranslatorPB.
URL: https://github.com/apache/hadoop-ozone/pull/51
 
 
   OzoneManagerProtocolClientSideTranslatorPB.java
   
   L251: if (cause instanceof NotLeaderException)
   
   { NotLeaderException notLeaderException = (NotLeaderException) cause; 
omFailoverProxyProvider.performFailoverIfRequired( 
notLeaderException.getSuggestedLeaderNodeId()); return 
getRetryAction(RetryAction.RETRY, retries, failovers); }
    
   
   The suggested leader returned from Server is not used during failOver, as 
the cause is a type of RemoteException. So with current code, it does not use 
suggested leader for failOver at all and by default with each OM, it tries max 
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 330261)
    Remaining Estimate: 0h
            Time Spent: 10m

> Fix logic of RetryPolicy in OzoneClientSideTranslatorPB
> -------------------------------------------------------
>
>                 Key: HDDS-2311
>                 URL: https://issues.apache.org/jira/browse/HDDS-2311
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Bharat Viswanadham
>            Priority: Blocker
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> OzoneManagerProtocolClientSideTranslatorPB.java
> L251: if (cause instanceof NotLeaderException) {
>  NotLeaderException notLeaderException = (NotLeaderException) cause;
>  omFailoverProxyProvider.performFailoverIfRequired(
>  notLeaderException.getSuggestedLeaderNodeId());
>  return getRetryAction(RetryAction.RETRY, retries, failovers);
>  }
>  
> The suggested leader returned from Server is not used during failOver, as the 
> cause is a type of RemoteException. So with current code, it does not use 
> suggested leader for failOver at all and by default with each OM, it tries 
> max retries.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to