-
Notifications
You must be signed in to change notification settings - Fork 125
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
Conversation
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, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this 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.
Closes #<ISSUE_NUMBER>
This PR:
This PR does not:
Key places to review: