[ 
https://issues.apache.org/jira/browse/HDDS-5228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17347049#comment-17347049
 ] 

Hanisha Koneru commented on HDDS-5228:
--------------------------------------

Thanks for the explanation [~bharat].

If we start using RetryInvocationHandler#performFailover, we should have a way 
to track the {{currentProxyOMNodeId}}. This is used in calculating the wait 
time between retries, for example. 

P.S. To be clear, I am +1 for the proposal. Just wanted to make sure the 
caveats are considered and taken care of.

> Make OM FailOverProxyProvider work across threads
> -------------------------------------------------
>
>                 Key: HDDS-5228
>                 URL: https://issues.apache.org/jira/browse/HDDS-5228
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>
> Use perform failover for doing perform failover instead of updating proxy in 
> RetryPolocy#shouldRetry.
> With this, if RpcClient shared across threads it will unnecessarily exhaust 
> the retry count. 



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