Skip to content

Loop iteration can finish before its side sinks run #9736

In review

Description

@aglinxinyuan

What happened?

A Loop End can rewind the materialized region schedule before the current iteration's side sink runs. On the final iteration, its downstream consumer can also open before the side sink finishes.

How to reproduce?

Split the output of a two-iteration loop body. Connect one branch to Loop End and then a result consumer. Connect the other to a chain ending in a sink. Run with one active region and record each sink write. The first write can be skipped and the result consumer can open before the second write.

Version/Branch

main

Activity

  1. added theissue type on Nov 28, 2026
  2. aglinxinyuan commented on Nov 28, 2026

    @aglinxinyuan
    ContributorAuthor

    /take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions