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

MasterStateSnapshot future may not be completed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Not A Bug
    • 1.11.0
    • 1.11.0
    • None

    Description

      From https://issues.apache.org/jira/browse/FLINK-18137?focusedCommentId=17133144&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17133144:

      There are several cases when masterStateCompletableFuture can be left incomplete:

      1. checkpoint is discarded (aborted) - line 690 throws an exception instead of completing the future
      2. checkpoint is discarded (aborted) - line 696 doesn't complete the future even if everything is acked (what  has trohrmann found)
      3. CompletableFuture.allOf waits for both masterStates and coordinatorCheckpoints futures while it could "return" as soon as one fails

      Need to check first.

      Attachments

        Activity

          People

            roman Roman Khachatryan
            roman Roman Khachatryan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: