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

feat: [MR-354] Load & validate protos asynchronously #2594

Merged
merged 78 commits into from
Jan 24, 2025

Conversation

pakhomov-dfinity
Copy link
Contributor

@pakhomov-dfinity pakhomov-dfinity commented Nov 13, 2024

As a part of the asynchronous checkpointing, we move reading protos to the Tip thread.
Currently we have the ReplicatedState from execution, serialize it into a checkpoint, load back the checkpoint in order to ensure it's loadable and equivalent to the original one, use the loaded checkpoint to switch the file descriptors in the original state to point to the new files.
The protos are only used for validation and at replica init.
With this change we do loading and validation away from the critical path.

@pakhomov-dfinity pakhomov-dfinity marked this pull request as ready for review January 20, 2025 13:42
@pakhomov-dfinity pakhomov-dfinity requested review from a team as code owners January 20, 2025 13:42
@pakhomov-dfinity pakhomov-dfinity changed the title Pakhomov/async protos feat: [MR-354] Load & validate protos asynchronously Jan 20, 2025
@github-actions github-actions bot added the feat label Jan 20, 2025
@pakhomov-dfinity pakhomov-dfinity added this pull request to the merge queue Jan 24, 2025
Merged via the queue into master with commit f128ac9 Jan 24, 2025
25 checks passed
@pakhomov-dfinity pakhomov-dfinity deleted the pakhomov/async-protos branch January 24, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants