[
https://issues.apache.org/jira/browse/FLINK-34176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Fan updated FLINK-34176:
----------------------------
Description:
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
was:
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 FixedDelayRestartBackoffTimeStrategy?
* 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 FailureRateRestartBackoffTimeStrategy?
* 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
> Remove unnecessary implemetations of RestartBackoffTimeStrategy
> ---------------------------------------------------------------
>
> 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)