You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ferenc Csaky (Jira)" <ji...@apache.org> on 2026/08/06 13:15:00 UTC
[jira] [Closed] (FLINK-40143) Dashboard shows incorrect restart strategy for jobs configured with restart-strategy options
[ https://issues.apache.org/jira/browse/FLINK-40143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ferenc Csaky closed FLINK-40143.
--------------------------------
Fix Version/s: 1.20.6
Assignee: caosurong
Resolution: Fixed
[{{a7fbb7d}}|https://github.com/apache/flink/commit/a7fbb7d521076dddf6f48dc04d123721362c12fb] in release-1.20
> Dashboard shows incorrect restart strategy for jobs configured with restart-strategy options
> --------------------------------------------------------------------------------------------
>
> Key: FLINK-40143
> URL: https://issues.apache.org/jira/browse/FLINK-40143
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Configuration, Runtime / REST, Runtime / Web Frontend
> Affects Versions: 1.19.1, 1.20.5
> Environment: Reproduced locally with Apache Flink 1.20.5 and 1.19.1 using a MiniCluster and the real Dashboard Job Configuration page. The same issue was not reproducible in Apache Flink 1.18.1.
> Evidence screenshots are available for 1.20.5 and 1.19.1.
> Reporter: caosurong
> Assignee: caosurong
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.20.6
>
> Attachments: image-2026-07-14-11-29-56-872.png, image-2026-07-14-11-30-18-947.png
>
>
> When a job is configured with restart-strategy.type=fixed-delay and related restart-strategy.fixed-delay.* options, the runtime uses the job-level restart strategy correctly. However, the Dashboard Job Configuration page and the /jobs/<jid>/config REST
>
> !image-2026-07-14-11-30-18-947.png! response display "Cluster level default restart strategy".
> This is reproducible in Flink 1.19.1 and Flink 1.20.5 LTS. I also checked Flink 1.18.1, where the same issue is not reproducible.
> Example job-level configuration:
> - restart-strategy.type = fixed-delay
> - restart-strategy.fixed-delay.attempts = 10
> - restart-strategy.fixed-delay.delay = 1 min
> Expected:
> The Job Configuration page and the /jobs/<jid>/config REST response should display the configured fixed-delay restart strategy.
> Actual:
> The Job Configuration page and the /jobs/<jid>/config REST response display "Cluster level default restart strategy".
> This looks like a regression introduced by the restart strategy configuration migration in Flink 1.19: runtime scheduling reads RestartStrategyOptions from Configuration correctly, but ArchivedExecutionConfig still derives the displayed restart strategy from ExecutionConfig#getRestartStrategy(), which returns the fallback restart strategy.
> I searched existing FLINK issues with keywords including "Cluster level default restart strategy", "ArchivedExecutionConfig", "restart-strategy Dashboard", "Job Configuration restart strategy", and "RestartStrategyOptions ArchivedExecutionConfig", but did not find an existing issue for this Dashboard display problem.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)