GitHub user tison1 opened a pull request:
https://github.com/apache/flink/pull/6370
[FLINK-9894] [runtime] Potential Data Race
## What is the purpose of the change
*(CoLocationGroup#ensureConstraints may cause data race on `constraints`.
synchronize its use to avoid that)*
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tison1/flink patential-race
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/6370.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 #6370
----
commit 34eace0951363e1d221d2f145dce80d24e5372a7
Author: éæ¢ç« <wander4096@...>
Date: 2018-07-19T08:13:18Z
[FLINK-9894] [runtime] Potential Data Race
----
---