GitHub user zhangminglei opened a pull request:

    [FLINK-8687] Make MaterializedCollectStreamResult#retrievePage to hav…

    …e resultLock
    ## What is the purpose of the change
    Currently ```MaterializedCollectStreamResult#retrievePage``` checks page 
range and calls snapshot.subList() without holding resultLock. resultLock 
should be taken.
    ## Brief change log
    Add synchronized to protect it.

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

    $ git pull flink-8687

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

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

    This closes #5647
commit e3308ba0914404d424dfbc17c70d1b948c97b175
Author: mingleiZhang <zml13856086071@...>
Date:   2018-03-07T02:36:52Z

    [FLINK-8687] Make MaterializedCollectStreamResult#retrievePage to have 



Reply via email to