Skip to content

Allow Flink to ignore savepoint on restore if the states of the old and new jobs are incompatible #589

@JuliaBogdan

Description

@JuliaBogdan

We have a streaming job that runs with JobSpec.takeSavepointOnUpdate: true property. When updating the job and restoring it from savepoint, we need to have a way to gracefully handle the failure of the restore process if the new job state and the previous job state are incompatible.

We would like the operator to:

  1. Make an attempt to restore from savepoint
  2. If it does not succeed, ignore savepoint and start the job with the default state.

Since there are cases for which this approach is not acceptable, it would be good to have an option to configure the desired behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions