[
https://issues.apache.org/jira/browse/FLINK-38845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yi Zhang updated FLINK-38845:
-----------------------------
Description:
Replace ExecutionGraphInfoStore with ArchivedApplicationStore to manage
terminated applications (rather than individual jobs) and handle their
expiration.
With the introduction of applications, every job is now explicitly associated
with an application. Previously, the {{ExecutionGraphInfoStore}} was used to
manage and expire completed jobs individually. However, this approach no longer
works well in the application-centric model.
If we continue using {{ExecutionGraphInfoStore}} to expire individual completed
jobs, it’s possible that only some jobs within an application get expired and
removed, while others remain. This leads to an incomplete view of the
application’s state, because parts of its job history become unavailable.
To preserve application-level consistency and completeness, we introduce the
{{{}ArchivedApplicationStore{}}}. Instead of expiring jobs independently, this
new store manages entire applications (including all their jobs) as a single
unit—ensuring that the application’s final state remains accurate, complete,
and reliably queryable until it is intentionally discarded.
was:Replace ExecutionGraphInfoStore with ArchivedApplicationStore to manage
terminated applications (rather than individual jobs) and handle their
expiration.
> Add ArchivedApplicationStore to manage terminated applications
> --------------------------------------------------------------
>
> Key: FLINK-38845
> URL: https://issues.apache.org/jira/browse/FLINK-38845
> Project: Flink
> Issue Type: Sub-task
> Reporter: Yi Zhang
> Assignee: Yi Zhang
> Priority: Major
> Labels: pull-request-available
>
> Replace ExecutionGraphInfoStore with ArchivedApplicationStore to manage
> terminated applications (rather than individual jobs) and handle their
> expiration.
> With the introduction of applications, every job is now explicitly associated
> with an application. Previously, the {{ExecutionGraphInfoStore}} was used to
> manage and expire completed jobs individually. However, this approach no
> longer works well in the application-centric model.
> If we continue using {{ExecutionGraphInfoStore}} to expire individual
> completed jobs, it’s possible that only some jobs within an application get
> expired and removed, while others remain. This leads to an incomplete view of
> the application’s state, because parts of its job history become unavailable.
> To preserve application-level consistency and completeness, we introduce the
> {{{}ArchivedApplicationStore{}}}. Instead of expiring jobs independently,
> this new store manages entire applications (including all their jobs) as a
> single unit—ensuring that the application’s final state remains accurate,
> complete, and reliably queryable until it is intentionally discarded.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)