rocksdb/test_util
Peter Dillinger 98c33cb8e3 Steps toward making IDENTITY file obsolete (#13019)
Summary:
* Set write_dbid_to_manifest=true by default
* Add new option write_identity_file (default true) that allows us to opt-in to future behavior without identity file
* Refactor related DB open code to minimize code duplication

_Recommend hiding whitespace changes for review_

Intended follow-up: add support to ldb for reading and even replacing the DB identity in the manifest. Could be a variant of `update_manifest` command or based on it.

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

Test Plan: unit tests and stress test updated for new functionality

Reviewed By: anand1976

Differential Revision: D62898229

Pulled By: pdillinger

fbshipit-source-id: c08b25cf790610b034e51a9de0dc78b921abbcf0
2024-09-19 14:05:21 -07:00
..
mock_time_env.cc Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
mock_time_env.h Remove 'virtual' when implied by 'override' (#12319) 2024-01-31 13:14:42 -08:00
secondary_cache_test_util.cc Run internal cpp modernizer on RocksDB repo (#12398) 2024-03-04 10:08:32 -08:00
secondary_cache_test_util.h
sync_point.cc
sync_point.h
sync_point_impl.cc
sync_point_impl.h
testharness.cc Run internal cpp modernizer on RocksDB repo (#12398) 2024-03-04 10:08:32 -08:00
testharness.h
testutil.cc Steps toward making IDENTITY file obsolete (#13019) 2024-09-19 14:05:21 -07:00
testutil.h Steps toward making IDENTITY file obsolete (#13019) 2024-09-19 14:05:21 -07:00
testutil_test.cc
transaction_test_util.cc
transaction_test_util.h