Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-25842 [v2] FLIP-158: Generalized incremental checkpoints
  3. FLINK-23252

Support recovery (from checkpoints) after disabling changelog backend

    XMLWordPrintableJSON

Details

    • Added support for disabling changelog when recovering from checkpoints

    Description

      Recovery from savepoint already works:

      • changelog off -> on: FLINK-23278
      • changelog on -> off: directly calling underlyingBackend.savepoint() (instead of writer.persist()

       

      For checkpoints, changelog on -> off doesn't work. Regular state backend will receive materialized and non-aterialized state on recovery. To support it, state changes have to be applied on recovery even if changelog backend is disabled.

      Another obstacle could be that wrapped backend state handles created during materialization can refer to a fake checkpoint ID. This fake checkpoint ID would then be passed to e.g. RocksIncrementalSnapshotStrategy on restore.

      Attachments

        Activity

          People

            masteryhx Hangxiang Yu
            roman Roman Khachatryan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: