GitHub user bowenli86 opened a pull request:

    https://github.com/apache/flink/pull/4703

    [FLINK-7659][REST] Unprotected access to inProgress in 
JobCancellationWithSavepointHandlers#handleNewRequest

    ## What is the purpose of the change
    
    There's a thread accessing `inProgress` without proper synchronization
    
    ## Brief change log
    
    Add synchronization to access `inProgress` 
    
    ## Verifying this change
    
    This change is a trivial rework / code cleanup without any test coverage.
    
    ## Does this pull request potentially affect one of the following parts:
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (no)
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bowenli86/flink FLINK-7659

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4703.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4703
    
----
commit 6b7904bcfe809542216e12e4b48933fcb47d2d1d
Author: Bowen Li <[email protected]>
Date:   2017-09-22T05:33:17Z

    FLINK-7659 Unprotected access to inProgress in 
JobCancellationWithSavepointHandlers#handleNewRequest

----


---

Reply via email to