facebook / facebook/rocksdb

Don’t update the database version with the tools like ldb or sst_dump.

Open
#8,081 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

### Expected behavior

The official [Administration tools in this repository](https://github.com/facebook/rocksdb/wiki/Administration-and-Data-Access-Tool) tries to keep database version.

Database administration shouldn’t means forced upgrade.

### Actual behavior

even for just reading a single key without writing anything the footer version is updated which results in this error (because some software like OpenEthereum still use a RocksDb version which is several years behind and can’t be updated without a huge man power investment)

/usr/share/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/parity-rocksdb-sys-0.5.6/rocksdb/db/db_impl_compaction_flush.cc:1953] Compaction error: Corruption: Unknown Footer version. Maybe this file was created with newer version of RocksDB?

and prevents to use the old software.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.