Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Users want to know the status of last savepoint, especially for manually triggered ones, to manage savepoints.
Currently, users can infer the status of the last savepoint (PENDING, SUCCEEDED and ABANDONED) from jobStatus.triggerId, lastSavepoint.triggerNonce, spec.job.savepointTriggerNonce and savepointTriggerNonce from last reconciliation. If the last savepoint is not manually triggered, there is no ABANDONED status, only PENDING or SUCCEEDED.
Creating a utility will encapsulate the internal logic of Flink operator guard against regression by any future version changes.
Attachments
Issue Links
- relates to
-
FLINK-30047 getLastSavepointStatus should return null when there is never savepoint completed or pending
- Closed
-
FLINK-30119 Breaking change: Flink Kubernetes Operator should store last savepoint in the SavepointInfo.lastSavepoint field whether it is completed or pending
- Closed
- links to