Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

materialize-mysql: handle transactions with 0 Store requests #2245

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

williamhbaker
Copy link
Member

@williamhbaker williamhbaker commented Jan 6, 2025

Description:

For transactions with 0 Store requests, which may happen when a notBefore is set on the materialization, prevent a panic by not trying to flush the "final" binding when there aren't any bindings with data.

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

(anything that might help someone review this PR)


This change is Reviewable

For transactions with 0 Store requests, which may happen when a `notBefore` is
set on the materialization, prevent a panic by not trying to flush the "final"
binding when there aren't any bindings with data.
@williamhbaker williamhbaker merged commit 08dfae4 into main Jan 6, 2025
51 of 54 checks passed
@williamhbaker williamhbaker deleted the wb/mat-mysql-empty-txn branch January 6, 2025 21:14
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.

2 participants