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

Feature: Add a write ahead log to handle DB failures #4

Open
TheIllusionistMirage opened this issue Jul 11, 2021 · 0 comments
Open
Assignees
Labels
feature A new feature task

Comments

@TheIllusionistMirage
Copy link
Owner

To handle external failures like OS crashes etc, an append only write ahead log needs to be added. For each incoming write, the write will first be performed on this write ahead log, and then on the currently active memtable. This will ensure that in case of crashes we can consistently rebuild the active memtable. This write ahead log is discarded and a new one created whenever the active memtable is flushed to the disk.

@TheIllusionistMirage TheIllusionistMirage self-assigned this Jul 11, 2021
@TheIllusionistMirage TheIllusionistMirage added the feature A new feature task label Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature task
Projects
None yet
Development

No branches or pull requests

1 participant