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

coord: optimize read hold updates #14006

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

jkosh44
Copy link
Contributor

@jkosh44 jkosh44 commented Aug 1, 2022

Motivation

This PR fixes a previously unreported bug.

Checklist

@maddyblue
Copy link
Contributor

Is it possible to write a test?

@jkosh44
Copy link
Contributor Author

jkosh44 commented Aug 1, 2022

Is it possible to write a test?

Turns out I was wrong, this doesn't prevent the read hold time from reverting. However it is a small optimization in case the read timestamp hasn't changed it avoids an unnecessary network call. It might be worth merging for that.

@jkosh44 jkosh44 changed the title coord: prevent read holds from reverting in time coord: optimize read hold updates Aug 1, 2022
@jkosh44 jkosh44 merged commit bbb59f6 into MaterializeInc:main Aug 1, 2022
@jkosh44 jkosh44 deleted the read-hold-revert-fix branch August 1, 2022 21:04
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