Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14145

getLatestCheckpoint(true) returns wrong checkpoint

    XMLWordPrintableJSON

Details

    Description

      The flag to prefer checkpoints for recovery introduced in FLINK-11159 returns the wrong checkpoint if:

      • checkpoints are preferred (getLatestCheckpoint(true)),
      • the latest checkpoint is not a savepoint,
      • more than a single checkpoint is retained.

      The current implementation assumes that the latest checkpoint is a savepoint and skips over it. I attached a patch for StandaloneCompletedCheckpointStoreTest that demonstrates the issue.

      You can apply the patch via git am -3 < *.patch.

       

      Attachments

        Issue Links

          Activity

            People

              gyfora Gyula Fora
              uce Ufuk Celebi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m