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

Siddharth Wagle commented on RATIS-574:
---------------------------------------

Thanks for review [~szetszwo].

1. But retryForeverNoSleep() does not honor attempt, right? Shouldn't we have a 
limit on attempt without sleep?
2. Correcting, unintended change.

> Ratis should not use configured sleep interval in RetryPolicy when it gets 
> NotLeaderException
> ---------------------------------------------------------------------------------------------
>
>                 Key: RATIS-574
>                 URL: https://issues.apache.org/jira/browse/RATIS-574
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Aravindan Vijayan
>            Assignee: Siddharth Wagle
>            Priority: Major
>         Attachments: RATIS-574.01.patch, RATIS-574.04.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> While doing performance tests with Ozone, it was observed that the client 
> always waits for retry timeout when a NotLeaderException is logged. This 
> bears a performance penalty for the client who cannot try the next Ratis 
> server in the ring.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to