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

Checksum mismatch on loading #38

Closed
sebheitzmann opened this issue Dec 4, 2024 · 5 comments
Closed

Checksum mismatch on loading #38

sebheitzmann opened this issue Dec 4, 2024 · 5 comments

Comments

@sebheitzmann
Copy link
Contributor

I got some error like this :

error in sstable '44/sstable_000000000000001/' while hashing value at offset [505843]: Checksum mismatch: expected 29cbe412906044a5, got 556cce18f87966a7

I can't really understand why it is produced. How can we produce wrong checksum ?

Could it be linked to #31 ?

Any advice ?

@sebheitzmann sebheitzmann changed the title Checksul mismatch on loading Checksum mismatch on loading Dec 4, 2024
@thomasjungblut
Copy link
Owner

Could be, did you receive any error while writing? Any specific position that may cause this problem? Is it the last record in the file?

It might also happen when the key sstable contains wrong offsets, so the records are split, which is similar to #31

@sebheitzmann
Copy link
Contributor Author

Yes, the checksum error is on the last key. No errors on writting.

@sebheitzmann
Copy link
Contributor Author

maybe my fault, i'm still inverstigate

@thomasjungblut
Copy link
Owner

did you close the sstable at the end? maybe the buffer hasn't been flushed entirely

@sebheitzmann
Copy link
Contributor Author

After a little more investigate it seem that the problem was with a buffer in the calling code. I Close this issue.

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

No branches or pull requests

2 participants