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

Lack of synchronization accessing inProgress in JobCancellationWithSavepointHandlers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

                    try {
                      if (throwable != null) {
                        completed.put(requestId, throwable);
                      } else {
                        completed.put(requestId, path);
                      }
                    } finally {
                      inProgress.remove(jobId);
                    }
      

      The call to inProgress.remove(jobId) should be protected by lock object.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: