Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


 

Status

...

Page properties


Discussion thread

...


Vote thread
JIRA

...

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyFLINK-3257

Release


Draft: Released: Under Pull Request (https://github.com/apache/flink/pull/1668)

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

  • Goes into Logging Mode. That means that from that point on every record it receives from its Iteration Sink is buffered in its own operator state (log) and not forwarded further until it goes back to normal mode) till step (2).

  • Forwards the barrier to its downstream nodes (this guarantees liveness, otherwise we have a deadlock) and feedback records as usual since their effects are part of a future checkpoint.

(2) Eventually, the Iteration Head receives a barrier back from its Iteration Sink. At that point:

  • It checkpoints the log as its operator state.Flushes to its outputs all pending records from the log and resets itclears the backup log.

  • Goes back to normal forwarding mode.

...

A single integration test that verifies exactly-once state updates upon recovery  when when loops exist in the graph suffices.

...