]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Make best-efforts recovery verify SST unique ID before Version construction (#10962)
authorYanqin Jin <yanqin@fb.com>
Wed, 23 Nov 2022 06:53:31 +0000 (22:53 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 23 Nov 2022 06:53:31 +0000 (22:53 -0800)
commit3d0d6b814051944056488cf0cdfc1313d2fc5c3e
tree4c9d1bdf851f7414d8344a17a7e269fd439e4fe9
parentd8e792e4cfab21888418e6e510222977beeee6e3
Make best-efforts recovery verify SST unique ID before Version construction (#10962)

Summary:
The check for SST unique IDs added to best-efforts recovery (`Options::best_efforts_recovery` is true).

With best_efforts_recovery being true, RocksDB will recover to the latest point in
MANIFEST such that all valid SST files included up to this point pass unique ID checks as well.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10962

Test Plan: make check

Reviewed By: pdillinger

Differential Revision: D41378241

Pulled By: riversand963

fbshipit-source-id: a036064e2c17dec13d080a24ef2a9f85d607b16c
HISTORY.md
db/db_test2.cc
db/version_edit_handler.cc
db/version_edit_handler.h
db/version_set.cc
db/version_set.h
include/rocksdb/options.h