GitHub user zhangminglei opened a pull request:
[FLINK-8687] Make MaterializedCollectStreamResult#retrievePage to havâ¦
## 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 https://github.com/zhangminglei/flink 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
Author: mingleiZhang <zml13856086071@...>
[FLINK-8687] Make MaterializedCollectStreamResult#retrievePage to have