Skip to content

Fix view sync across restarts #3279

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

Merged
merged 11 commits into from
May 27, 2025
Merged

Fix view sync across restarts #3279

merged 11 commits into from
May 27, 2025

Conversation

bfish713
Copy link
Contributor

@bfish713 bfish713 commented May 14, 2025

Closes #<ISSUE_NUMBER>

This PR:

This PR does not:

Key places to review:


CREATE TABLE restart_view (
-- The ID is always set to 0. Setting it explicitly allows us to enforce with every insert or
-- update that there is only a single entry in this table: the view we should restart from.
id INT PRIMARY KEY,
Copy link
Contributor

Choose a reason for hiding this comment

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

can do INTEGER PRIMARY KEY CHECK (id = 0) to enforce this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Keeping this the same since this pattern is already in use

@bfish713 bfish713 marked this pull request as ready for review May 16, 2025 14:41
Copy link
Contributor

@lukaszrzasik lukaszrzasik left a comment

Choose a reason for hiding this comment

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

Looks good to me, just wondering why the test_epochs_success.rs file is commented out.

@bfish713 bfish713 enabled auto-merge (squash) May 27, 2025 19:48
@bfish713 bfish713 merged commit cf5d72a into main May 27, 2025
99 checks passed
@bfish713 bfish713 deleted the bf/restarts branch May 27, 2025 19:58
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