Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Current stateUnder Discussion

Discussion threadhere (<- link to https://mail-archiveslists.apache.org/x/thread.html/dc5ab1fad1a38b58aa762303922c04f1310d49dbd3c3ac8264cbe27f@%3Cdev.flink.apache.org%3Emod_mbox/flink-dev/)

JIRA 

Released: <Flink Version>

...

The following matrix shows the current state of things with the different formats and features of checkpoints and savepoints.

Y

Yes, the feature is supported

N

No, the feature is not supported

M

Supported but not in all cases



user-controlled

incremental

self-contained

side-effects

recovery

rescaling

unified format

savepoints

Y

N

Y

Y

Y

Y

Y

checkpoints

M

Y

Y

Y

Y

M

N


Illustrative Shortcomings

...

The main change that this FLIP proposes is:

All state snapshots (checkpoints and savepoints) are simply SNAPSHOTS from Flink’s and they are eligible for RECOVERY. 

Snapshots

Given the above:

...

  1. The complexity of explaining of savepoint/checkpoints and corner cases disappears, as we can have a matrix with all available formats and their strong points and limitations
  2. The user can mix-and-match snapshot formats based on his/her needs. For example he/she can stop a job with an incremental user-induced snapshot as described in FLIP-45 and use that to upgrade the cluster. This will allow to stop the job quickly (incremental snapshot) even for jobs with large state, where taking a full snapshot could be prohibitively slow.
  3. Evolution of savepoints/checkpoints is bound to be common for both, as most of the discussion will be around evolution of the formats, which are available to both.

Rejected Alternatives


Savepoints with no Side-Effects

...