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

add CRC to KeyValueEntry #8

Merged
merged 8 commits into from
Dec 25, 2023
Merged

add CRC to KeyValueEntry #8

merged 8 commits into from
Dec 25, 2023

Conversation

manosriram
Copy link
Owner

CRC checks for data corruption. The KeyValueEntry is hashed when writing to disk and stored in crc field;
When getting, we hash the KeyValueEntry again and compare it with the stored CRC. If not a match, then data is corrupted

CRC checks for data corruption. The KeyValueEntry is hashed when writing to disk and stored in crc field; When getting, we hash the KeyValueEntry again and compare it with the stored CRC. If not a match, then data is corrupted
@manosriram manosriram merged commit 077a003 into main Dec 25, 2023
@manosriram manosriram deleted the feat/crc branch January 3, 2024 20:44
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.

1 participant