rocksdb/options
Peter Dillinger 78c83ac1ec Publish/support format_version=7, related enhancements (#13713)
Summary:
* Make new format_version=7 a supported setting.
* Fix a bug in compressed_secondary_cache.cc that is newly exercised by custom compression types and showing up in crash test with tiered secondary cache
* Small change to handling of disabled compression in fv=7: use empty compression manager compatibility name.
* Get rid of GetDefaultBuiltinCompressionManager() in public API because it could cause unexpected+unsafe schema change on a user's CompressionManager if built upon the default built-in manager and we add a new built-in schema. Now must be referenced by explicit compression schema version in the public API. (That notion was already exposed in compressed secondary cache API, for better or worse.)
* Improve some error messages for compression misconfiguration
* Improve testing with ObjectLibrary and CompressionManagers
* Improve testing of compression_name table property in BlockBasedTableTest.BlockBasedTableProperties2
* Improve some comments

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

Test Plan: existing and updated tests. Notably, the crash test has already been running with (unpublished) format_version=7

Reviewed By: mszeszko-meta, hx235

Differential Revision: D77035482

Pulled By: pdillinger

fbshipit-source-id: 95278de8734a79706a22361bff2184b1edb230ca
2025-06-20 17:39:47 -07:00
..
cf_options.cc Reduce universal compaction input lock time by forwarding intended compaction and re-picking (#13633) 2025-06-12 18:16:47 -07:00
cf_options.h Experimental, preliminary support for custom CompressionManager (#13626) 2025-05-21 10:09:46 -07:00
configurable.cc Preliminary support for custom compression algorithms (#13659) 2025-06-16 14:19:03 -07:00
configurable_helper.h Fix race to make BlockBasedTableOptions effectively mutable (#13082) 2024-10-25 10:24:54 -07:00
configurable_test.cc Run internal cpp modernizer on RocksDB repo (#12398) 2024-03-04 10:08:32 -08:00
configurable_test.h Standardize on clang-format version 18 (#13233) 2024-12-19 10:58:40 -08:00
customizable.cc Standardize on clang-format version 18 (#13233) 2024-12-19 10:58:40 -08:00
customizable_test.cc Standardize on clang-format version 18 (#13233) 2024-12-19 10:58:40 -08:00
db_options.cc Remove fail_if_options_file_error DB option (#13504) 2025-04-09 14:18:33 -07:00
db_options.h Remove fail_if_options_file_error DB option (#13504) 2025-04-09 14:18:33 -07:00
offpeak_time_info.cc Mark more files for periodic compaction during offpeak (#12031) 2023-11-06 11:43:59 -08:00
offpeak_time_info.h Fix build on alpine 3.19 (#12345) 2024-02-12 11:24:56 -08:00
options.cc Reduce universal compaction input lock time by forwarding intended compaction and re-picking (#13633) 2025-06-12 18:16:47 -07:00
options_helper.cc Preliminary support for custom compression algorithms (#13659) 2025-06-16 14:19:03 -07:00
options_helper.h Format compatibility test cover compressions, including mixed (#13414) 2025-02-25 00:12:34 -08:00
options_parser.cc Standardize on clang-format version 18 (#13233) 2024-12-19 10:58:40 -08:00
options_parser.h Standardize on clang-format version 18 (#13233) 2024-12-19 10:58:40 -08:00
options_settable_test.cc Publish/support format_version=7, related enhancements (#13713) 2025-06-20 17:39:47 -07:00
options_test.cc Preliminary support for custom compression algorithms (#13659) 2025-06-16 14:19:03 -07:00