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

Corruption: block checksum mismatch on RocksDb 6.7.3 #7033

Closed
patkivikram opened this issue Jun 25, 2020 · 1 comment
Closed

Corruption: block checksum mismatch on RocksDb 6.7.3 #7033

patkivikram opened this issue Jun 25, 2020 · 1 comment
Labels
waiting Waiting for a response from the issue creator.

Comments

@patkivikram
Copy link

patkivikram commented Jun 25, 2020

Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://groups.google.com/forum/#!forum/rocksdb or https://www.facebook.com/groups/rocksdb.dev

We are running our application in Kubernetes with PV's mapped to NFS storage using Netapp. We ran into 2 instances of corruption in our production environment in the last 1 week. Both corruptions were in different db's with the following error message b'Corruption: block checksum mismatch: expected 3032677561, got 182668963 in /data/fos/fos-0/v1/tables/kv_table-3.db/001581.sst offset 18018905 size 4204'

Based on the python rocksdb bindings we are using the use_fsync is set to False by default.

Running this on centos 7.5

Expected behavior

RocksDb should not corrupt data.

Actual behavior

Data gets corrupted with no way to recover

Steps to reproduce the behavior

We have about 4G of data in about 15 DB's managed by the kafka streams application

@koldat
Copy link
Contributor

koldat commented Jul 24, 2020

It is most likely HW issue. That is why there is a checksum so it does not need to be RocksDB fault. You can try to fix SST using sst_tool in this PR #6955

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting Waiting for a response from the issue creator.
Projects
None yet
Development

No branches or pull requests

4 participants