forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-19773][runtime] Implement ExponentialDelayRestartBackoffTimeSt…
…rategy Apply spotless formatting This closes apache#14425.
- Loading branch information
1 parent
d2e9aeb
commit 13b7b3e
Showing
10 changed files
with
879 additions
and
1 deletion.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
docs/_includes/generated/exponential_delay_restart_strategy_configuration.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<table class="table table-bordered"> | ||
<thead> | ||
<tr> | ||
<th class="text-left" style="width: 20%">Key</th> | ||
<th class="text-left" style="width: 15%">Default</th> | ||
<th class="text-left" style="width: 10%">Type</th> | ||
<th class="text-left" style="width: 55%">Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><h5>restart-strategy.exponential-delay.backoff-multiplier</h5></td> | ||
<td style="word-wrap: break-word;">2.0</td> | ||
<td>Double</td> | ||
<td>Backoff value is multiplied by this value after every failure,until max backoff is reached if <span markdown="span">`restart-strategy`</span> has been set to <span markdown="span">`exponential-delay`</span>.</td> | ||
</tr> | ||
<tr> | ||
<td><h5>restart-strategy.exponential-delay.initial-backoff</h5></td> | ||
<td style="word-wrap: break-word;">1 s</td> | ||
<td>Duration</td> | ||
<td>Starting duration between restarts if <span markdown="span">`restart-strategy`</span> has been set to <span markdown="span">`exponential-delay`</span>. It can be specified using notation: "1 min", "20 s"</td> | ||
</tr> | ||
<tr> | ||
<td><h5>restart-strategy.exponential-delay.jitter-factor</h5></td> | ||
<td style="word-wrap: break-word;">0.1</td> | ||
<td>Double</td> | ||
<td>Jitter specified as a portion of the backoff if <span markdown="span">`restart-strategy`</span> has been set to <span markdown="span">`exponential-delay`</span>. It represents how large random value will be added or subtracted to the backoff. Useful when you want to avoid restarting multiple jobs at the same time.</td> | ||
</tr> | ||
<tr> | ||
<td><h5>restart-strategy.exponential-delay.max-backoff</h5></td> | ||
<td style="word-wrap: break-word;">5 min</td> | ||
<td>Duration</td> | ||
<td>The highest possible duration between restarts if <span markdown="span">`restart-strategy`</span> has been set to <span markdown="span">`exponential-delay`</span>. It can be specified using notation: "1 min", "20 s"</td> | ||
</tr> | ||
<tr> | ||
<td><h5>restart-strategy.exponential-delay.reset-backoff-threshold</h5></td> | ||
<td style="word-wrap: break-word;">1 h</td> | ||
<td>Duration</td> | ||
<td>Threshold when the backoff is reset to its initial value if <span markdown="span">`restart-strategy`</span> has been set to <span markdown="span">`exponential-delay`</span>. It specifies how long the job must be running without failure to reset the exponentially increasing backoff to its initial value. It can be specified using notation: "1 min", "20 s"</td> | ||
</tr> | ||
</tbody> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.