[ 
https://issues.apache.org/jira/browse/RATIS-2413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze updated RATIS-2413:
------------------------------
    Attachment: 1354_review.patch

> Support different RetryPolicy implementations
> ---------------------------------------------
>
>                 Key: RATIS-2413
>                 URL: https://issues.apache.org/jira/browse/RATIS-2413
>             Project: Ratis
>          Issue Type: Improvement
>          Components: common
>            Reporter: Tsz-wo Sze
>            Priority: Major
>         Attachments: 1354_review.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, we have the following confs using RetryPolicy.
>  - key: raft.server.log.appender.retry.policy (java.lang.String,
>  ** default=1ms,10, 1s,20, 5s,1000):
>  ** It must use MultipleLinearRandomRetry.
>  - key: raft.netty.dataStream.client.reconnect.policy (java.lang.String,
>  ** default=ExponentialBackoffRetry,100ms,5s,100)
>  ** It must use ExponentialBackoffRetry.
> This JIRA is to make them supporting different RetryPolicy implementations. 
> We may define a comma separated format for specifying a RetryPolicy
>  - <classname>,<retry-policy-parameter>
> where <classname> is the class name of the RetryPolicy implementation and 
> <retry-policy-parameter> is the parameters of that RetryPolicy in comma 
> separated format.
> For compatibility with existing raft.server.log.appender.retry.policy, 
> <classname> may be omitted and it will use MultipleLinearRandomRetry by 
> default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to