rocksdb/test_util
Jay Zhuang c6d326d3d7 Track SST unique id in MANIFEST and verify (#9990)
Summary:
Start tracking SST unique id in MANIFEST, which is used to verify with
SST properties to make sure the SST file is not overwritten or
misplaced. A DB option `try_verify_sst_unique_id` is introduced to
enable/disable the verification, if enabled, it opens all SST files
during DB-open to read the unique_id from table properties (default is
false), so it's recommended to use it with `max_open_files = -1` to
pre-open the files.

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

Test Plan: unittests, format-compatible test, mini-crash

Reviewed By: anand1976

Differential Revision: D36381863

Pulled By: jay-zhuang

fbshipit-source-id: 89ea2eb6b35ed3e80ead9c724eb096083eaba63f
2022-05-19 11:04:21 -07:00
..
mock_time_env.cc Add a SystemClock class to capture the time functions of an Env (#7858) 2021-01-25 22:09:11 -08:00
mock_time_env.h Make SystemClock into a Customizable Class (#8636) 2021-09-21 09:23:48 -07:00
sync_point_impl.cc SyncPoint::Process thrashes heap ... fix it (#9023) 2021-10-15 13:30:29 -07:00
sync_point_impl.h SyncPoint::Process thrashes heap ... fix it (#9023) 2021-10-15 13:30:29 -07:00
sync_point.cc SyncPoint::Process thrashes heap ... fix it (#9023) 2021-10-15 13:30:29 -07:00
sync_point.h SyncPoint::Process thrashes heap ... fix it (#9023) 2021-10-15 13:30:29 -07:00
testharness.cc Remove deprecated ObjectLibrary::Register() (and Regex public API) (#9439) 2022-01-26 16:22:44 -08:00
testharness.h Remove deprecated ObjectLibrary::Register() (and Regex public API) (#9439) 2022-01-26 16:22:44 -08:00
testutil_test.cc More Makefile Cleanup (#7097) 2020-07-09 14:35:17 -07:00
testutil.cc Track SST unique id in MANIFEST and verify (#9990) 2022-05-19 11:04:21 -07:00
testutil.h Added GetFactoryCount/Names/Types to ObjectRegistry (#9358) 2022-05-16 09:44:43 -07:00
transaction_test_util.cc Remove own ToString() (#9955) 2022-05-06 13:03:58 -07:00
transaction_test_util.h Enforce the contract of SingleDelete (#9888) 2022-04-28 14:48:27 -07:00