GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/3227
[backport] [FLINK-5667] [state] Synchronize asynchronous checkpointing and
close operation
Backport of #3226 onto `release-1.2` branch.
This PR synchronizes asynchronous checkpointing and close operations of a
StreamTask.
The synchronization prevents that an acknowledged checkpoint gets discarded
and that
a discarded checkpoint gets acknowledged. It achieves this by introducing
an atomic
state variable which guards against late close and acknowledge operations.
cc @uce, @StefanRRichter
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink
asyncCheckpointingFixBackport
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3227.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 #3227
----
commit d0a2499f10060f159ad92500338125850a82c0c4
Author: Till Rohrmann <[email protected]>
Date: 2017-01-27T15:26:22Z
[FLINK-5667] [state] Synchronize asynchronous checkpointing and close
operation
This PR synchronizes asynchronous checkpointing and close operations of a
StreamTask.
The synchronization prevents that an acknowledged checkpoint gets discarded
and that
a discarded checkpoint gets acknowledged. It achieves this by introducing
an atomic
state variable which guards against late close and acknowledge operations.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---