You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is now the third time I have run into this error. Previously I was not able to find a fix and simply changed my storage mechanism from rocksdb but in this case I am no longer able to.
Steps to Reproduce
Create a rocksdb database using python-rocksdb 0.7.0 (installed through poetry if that matters)
SCP the database onto a different machine with a different venv that also contains rocksdb 0.7.0
Open the database on the second machine and attempt to use it (for example, create an iterator on it and attempt to read an item)
Get the error rocksdb.errors.Corruption: b'Corruption: Unknown Footer version. Maybe this file was created with newer version of RocksDB?'
Things I Tried
Opening the db on the first machine to make sure the db is not corrupted. It works without any issue.
SCPing over the db from the second machine back to the first and trying to open it on the first machine to make sure the db didn't get corrupted while it was being moved. Opening and reading the moved shard back on the first machine works fine.
Reinstalling python-rocksdb 0.7.0 . Still get the same error.
Installing an identical environment from machine one onto machine two (copied over the pyproject.toml and installed it on machine two) to make sure no other packages are interfering to cause this error. Still get the same error using the copied environment.
I am assuming that the internal version of the actual rocksdb the python bindings are for is somehow different between the two machines. Is it possible to see what version of rocksdb the python binding is using? Has anyone encountered this error and found a fix?
The text was updated successfully, but these errors were encountered:
This is now the third time I have run into this error. Previously I was not able to find a fix and simply changed my storage mechanism from rocksdb but in this case I am no longer able to.
Steps to Reproduce
rocksdb.errors.Corruption: b'Corruption: Unknown Footer version. Maybe this file was created with newer version of RocksDB?'
Things I Tried
I am assuming that the internal version of the actual rocksdb the python bindings are for is somehow different between the two machines. Is it possible to see what version of rocksdb the python binding is using? Has anyone encountered this error and found a fix?
The text was updated successfully, but these errors were encountered: