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

Unprotected access to inProgress in JobCancellationWithSavepointHandlers#handleNewRequest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.4, 1.4.0
    • Runtime / REST
    • None

    Description

      Here is related code:

                    } finally {
                      inProgress.remove(jobId);
                    }
      

      A little lower, in another finally block, there is:

                synchronized (lock) {
                  if (!success) {
                    inProgress.remove(jobId);
      

      which is correct.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: