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

storage: Add data recovery system #336

Merged
merged 14 commits into from
Mar 30, 2024
Merged

storage: Add data recovery system #336

merged 14 commits into from
Mar 30, 2024

Conversation

ohsayan
Copy link
Member

@ohsayan ohsayan commented Mar 30, 2024

This PR adds a very well and widely tested implementation of a data recovery system that is built into the Skytable storage engine (SDSS). It should be able to fix most common corruption issues, both due to an unexpected system failure (such as a power loss) or due to on-disk corruption.

The recovery system is very conservative in nature and hence will only make repairs that preserve consistency of the database.

Closes #333. Closes #327

@ohsayan ohsayan added D-server Related to the server C-storage Relating to storage C-reliability This issue/PR relates to reliability labels Mar 30, 2024
@ohsayan ohsayan changed the title Add data recovery system storage: Add data recovery system Mar 30, 2024
@ohsayan ohsayan merged commit 6c3fffe into next Mar 30, 2024
11 checks passed
@ohsayan ohsayan deleted the storage/repair-mode branch April 1, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-reliability This issue/PR relates to reliability C-storage Relating to storage D-server Related to the server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server: broken journal after hard reset Storage engine: Improve recovery systems
1 participant