Skip to content

Fix: Batch intervals in DAG order to make sure that parent snapshot signals are respected by their children#3956

Merged
izeigerman merged 1 commit intomainfrom
fix-signals-for-out-of-order-snapshots
Mar 7, 2025
Merged

Fix: Batch intervals in DAG order to make sure that parent snapshot signals are respected by their children#3956
izeigerman merged 1 commit intomainfrom
fix-signals-for-out-of-order-snapshots

Conversation

@izeigerman
Copy link
Collaborator

Previously, we were batching intervals in an arbitrary order, which could randomly result in child intervals running even when the same interval was unavailable in its parent due to the signal condition not being met.

This fix ensures that batches are computed in DAG order.

Huge kudos to @plaflamme for providing a test case which reproduces the issue (#3951)

@izeigerman izeigerman requested a review from a team March 7, 2025 16:41
Copy link
Contributor

@plaflamme plaflamme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@izeigerman izeigerman merged commit e100fbf into main Mar 7, 2025
22 checks passed
@izeigerman izeigerman deleted the fix-signals-for-out-of-order-snapshots branch March 7, 2025 16:58
izeigerman added a commit that referenced this pull request Mar 7, 2025
afzaljasani pushed a commit that referenced this pull request Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants