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: fix round counter error in binding events logger #2061

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

williamhbaker
Copy link
Member

@williamhbaker williamhbaker commented Oct 16, 2024

Description:

The round counter is incremented when the materialization starts its commit, and the general idea of starting the entire commit happens before performing the sub-operations for committing to each resource. So the "round" counter for committing to each resource is actually 1 less than currently tabulated.

The "round" counter offset by 1 is overall pretty convoluted and I may need to think about some kind of "load round" counter instead that stores are associated with, although I'm not sure that would be any better. The async operations of the materialization protocol just makes this a bit tricky

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

The round counter is incremented when the materialization starts its commit, and
the general idea of starting the entire commit happens before performing the
sub-operations for committing to each resource. So the "round" counter for
committing to each resource is actually 1 less than currently tabulated.

The "round" counter offset by 1 is overall pretty convoluted and I may need to
think about some kind of "load round" counter instead that stores are associated
with, although I'm not sure that would be any better. The async operations of
the materialization protocol just makes this a bit tricky
Copy link
Contributor

@Alex-Bair Alex-Bair left a comment

Choose a reason for hiding this comment

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

LGTM

@williamhbaker williamhbaker merged commit 1df91cf into main Oct 16, 2024
53 checks passed
@williamhbaker williamhbaker deleted the wb/round-counter branch October 16, 2024 15:09
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