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

Fix the race condition for aborting checkpoint in CheckpointBarrierUnaligner

    XMLWordPrintableJSON

Details

    Description

      There are three aborting scenarios which might encounter race condition:

          1. CheckpointBarrierUnaligner#processCancellationBarrier

          2. CheckpointBarrierUnaligner#processEndOfPartition

          3. AlternatingCheckpointBarrierHandler#processBarrier

      We only consider the pending checkpoint triggered by #processBarrier from task thread to abort it. Actually the checkpoint might also be triggered by #notifyBarrierReceived from netty thread in race condition, so we should also handle properly to abort it.

      Attachments

        Activity

          People

            zjwang Zhijiang
            zjwang Zhijiang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: