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

Introduce SSTable sha256 checksums #689

Merged
merged 3 commits into from
Jan 20, 2019
Merged

Introduce SSTable sha256 checksums #689

merged 3 commits into from
Jan 20, 2019

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented Jan 20, 2019

Add SHA256 checksums for SSTables in MANIFEST. If a table no longer matches this checksum, that table would be skipped over with an error.

Fixes #680 .


This change is Reviewable

Copy link
Contributor Author

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested that it works with previous badger directories. All new tables would store checksums in MANIFEST, older ones won't be affected.

Reviewable status: 0 of 9 files reviewed, all discussions resolved

@manishrjain manishrjain merged commit 2017987 into master Jan 20, 2019
@manishrjain manishrjain deleted the mrjn/table-sha256 branch January 20, 2019 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant