[
https://issues.apache.org/jira/browse/FLINK-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568366#comment-14568366
]
ASF GitHub Bot commented on FLINK-2098:
---------------------------------------
GitHub user StephanEwen opened a pull request:
https://github.com/apache/flink/pull/755
[FLINK-2098] Improvements on checkpoint-aligned sources
Based on #742 , include multiple cleanups and fixes on top.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/StephanEwen/incubator-flink stream_sources
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/755.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 #755
----
commit 152f4af6966e8a2e770f20a1f516d1de29c5b13e
Author: twalthr <[email protected]>
Date: 2015-05-27T13:32:11Z
[hotfix] Remove execute() after print() in Table API examples
This closes #735
commit d82942a396777ea6debbf55a91916d4d5c3ecdaa
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.
This changes the SourceFunction interface to have run()/cancel() methods
where the run() method takes a lock object on which it needs to
synchronize updates to state and emission of elements.
commit dad6a0092489fe7a9ef4508dc006d5a6cc42a2ba
Author: Stephan Ewen <[email protected]>
Date: 2015-06-02T01:31:43Z
[FLINK-2098] Improvements on checkpoint-aligned sources
----
> Checkpoint barrier initiation at source is not aligned with snapshotting
> ------------------------------------------------------------------------
>
> Key: FLINK-2098
> URL: https://issues.apache.org/jira/browse/FLINK-2098
> Project: Flink
> Issue Type: Bug
> Components: Streaming
> Affects Versions: 0.9
> Reporter: Stephan Ewen
> Assignee: Aljoscha Krettek
> Priority: Blocker
> Fix For: 0.9
>
>
> The stream source does not properly align the emission of checkpoint barriers
> with the drawing of snapshots.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)