[
https://issues.apache.org/jira/browse/FLINK-38974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-38974:
-----------------------------------
Labels: pull-request-available (was: )
> Handle jobs in running applications during HA recovery
> ------------------------------------------------------
>
> Key: FLINK-38974
> URL: https://issues.apache.org/jira/browse/FLINK-38974
> Project: Flink
> Issue Type: Sub-task
> Reporter: Yi Zhang
> Assignee: Yi Zhang
> Priority: Major
> Labels: pull-request-available
>
> It is a part of the application high-availability (HA) improvements, focusing
> on job recovery behavior during JobManager failover for running applications.
> * For running jobs that are recovered after a JM failover, execution is
> deferred until an explicit application recovery signal is received. If no
> such signal arrives before the application reaches a terminal state (e.g.,
> finished, failed, or cancelled), the job is marked as failed, basic metadata
> is preserved for visibility, and proper cleanup is performed.
> * For already-terminated jobs, the cleanup of job results (i.e., marking
> them as "clean") is delayed until after the application itself terminates. If
> the application later recovers and restarts, any "dirty" job results from the
> previous run are cleaned up during the recovery process.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)