GitHub user aljoscha opened a pull request:
https://github.com/apache/flink/pull/742
[FLINK-2098] Ensure checkpoints and element emission are in order
Before, it could happen that a streaming source would keep emitting
elements while a checkpoint is being performed. This can lead to
inconsistencies in the checkpoints with other operators.
This also adds a test that checks whether only one checkpoint is
executed at a time and the serial behaviour of checkpointing and
emission.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aljoscha/flink checkpoint-hardening
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/742.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 #742
----
commit 5df7410f44c640f3a183b525f697bbc11a69c69b
Author: Aljoscha Krettek <[email protected]>
Date: 2015-05-28T08:24:37Z
[FLINK-2098] Ensure checkpoints and element emission are in order
Before, it could happen that a streaming source would keep emitting
elements while a checkpoint is being performed. This can lead to
inconsistencies in the checkpoints with other operators.
This also adds a test that checks whether only one checkpoint is
executed at a time and the serial behaviour of checkpointing and
emission.
----
---
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.
---