You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rui Fan (Jira)" <ji...@apache.org> on 2024/01/22 04:46:00 UTC

[jira] [Updated] (FLINK-34176) Remove unnecessary failure-rate and fixed-delay restart-strategies

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

Rui Fan updated FLINK-34176:
----------------------------
    Summary: Remove unnecessary failure-rate and fixed-delay restart-strategies   (was: Remove unnecessary implemetations of RestartBackoffTimeStrategy)

> Remove unnecessary failure-rate and fixed-delay restart-strategies 
> -------------------------------------------------------------------
>
>                 Key: FLINK-34176
>                 URL: https://issues.apache.org/jira/browse/FLINK-34176
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>            Reporter: Rui Fan
>            Assignee: Rui Fan
>            Priority: Major
>
> h2. Could we deprecate the  failure-rate and fixed-delay restart-strategies directly?
> After FLINK-33735 (FLIP-364), the exponential-delay restart strategy is already very feature-rich. It can replace fix-delay and failure rate restart strategies directly.
> h2. How to replace fix-delay restart strategy?
>  * Set backoffMultiplier = 1 and jitterFactor = 0
>  * resetBackoffThresholdMS = Interget.Max
>  * initialBackoffMS and maxBackoffMS are the backoffTimeMS of FixedDelayRestartBackoffTimeStrategy
>  * attemptsBeforeResetBackoff is the maxNumberRestartAttempts of FixedDelayRestartBackoffTimeStrategy
> h2. How to replace failure-rate restart strategy?
>  * Set backoffMultiplier = 1 and jitterFactor = 0
>  * resetBackoffThresholdMS is the failuresIntervalMS of FailureRateRestartBackoffTimeStrategy
>  * initialBackoffMS and maxBackoffMS are the backoffTimeMS of FailureRateRestartBackoffTimeStrategy
>  * attemptsBeforeResetBackoff is the maxFailuresPerInterval of FailureRateRestartBackoffTimeStrategy



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