GitHub user tillrohrmann opened a pull request:
FLINK-5660 [state] Fix state cleanup of PendingCheckpoint
This is a backport of #3220 onto `release-1.2` branch.
When calling PendingCheckpoint.dispose, the state contained of a pending checkpoint
is discarded by an asynchronous task. Since this task accesses the taskStates field
we must not clear it in PendingCheckpoint.dispose. Instead we will clear it once
all state objects have been discarded from within the asynchronous task.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink pendingCheckpointFixCleanupBackport
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 #3221