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

Synchronize Snapshotting and chunked loading #1463

Merged
merged 16 commits into from
Dec 10, 2023
Merged

Synchronize Snapshotting and chunked loading #1463

merged 16 commits into from
Dec 10, 2023

Conversation

otoolep
Copy link
Member

@otoolep otoolep commented Dec 9, 2023

With chunked loads, a snapshot will delete "LOAD_CHUNK" entries from the Raft log. However those entries may have not been committed to the database yet, it won't happen until the last chunk is received. This would be OK, unless the system restarted before the last chunk and then the those entries would be lost, but the database not updated -- or worse, updated with an incomplete load operation (which would result in a invalid SQLite file).

@otoolep otoolep changed the title Track loads in progress Synchronize Snapshotting and chunked loading Dec 9, 2023
@otoolep otoolep merged commit acc51d8 into master Dec 10, 2023
17 of 19 checks passed
@otoolep otoolep deleted the load-tracking branch December 10, 2023 17:13
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.

None yet

1 participant