rocksdb/cache
Peter Dillinger d3817f058d Remove deprecated DB::Open raw pointer variants (and more) (#14335)
Summary:
and remove deprecated DB::MaxMemCompactionLevel(). In the process of pushing through a relatively clean refactoring of uses of the old functions, some other minor public APIs are also migrated from raw DB pointers to unique_ptr.

Claude did pretty much all the work, but requiring dozens of prompts to actually push through relatively clean phase out of raw DB pointers from what needed to be touched, and leaving that code in better shape. (Hundreds of `DB*` still remain all over the place even outside C and Java bindings.)

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

Test Plan: existing tests; no functional changes intended

Reviewed By: xingbowang, mszeszko-meta

Differential Revision: D93523820

Pulled By: pdillinger

fbshipit-source-id: e4ca22ad81cd2cfe91122d7507d7ca34fe03d043
2026-02-17 23:33:39 -08:00
..
cache.cc Remove useless option CompressedSecondaryCacheOptions::compress_format_version (#14302) 2026-02-04 15:11:09 -08:00
cache_bench.cc Add (& fix) some simple source code checks (#8821) 2021-09-07 21:19:27 -07:00
cache_bench_tool.cc Use AutoHCC by default in tools (#14120) 2025-11-12 21:40:15 -08:00
cache_entry_roles.cc Major Cache refactoring, CPU efficiency improvement (#10975) 2023-01-11 14:20:40 -08:00
cache_entry_roles.h Major Cache refactoring, CPU efficiency improvement (#10975) 2023-01-11 14:20:40 -08:00
cache_entry_stats.h Reformat source files (#14331) 2026-02-13 11:56:22 -08:00
cache_helpers.cc Support compressed and local flash secondary cache stacking (#11812) 2023-09-21 20:30:53 -07:00
cache_helpers.h Put Cache and CacheWrapper in new public header (#11192) 2023-02-09 12:12:02 -08:00
cache_key.cc Reformat source files (#14331) 2026-02-13 11:56:22 -08:00
cache_key.h Reformat source files (#14331) 2026-02-13 11:56:22 -08:00
cache_reservation_manager.cc Simplify tracking entries already in SecondaryCache (#11299) 2023-03-15 17:51:44 -07:00
cache_reservation_manager.h Reformat source files (#14331) 2026-02-13 11:56:22 -08:00
cache_reservation_manager_test.cc Remove extra semi colon from icsp/lib/logging/IcspLogRpcMessage.cpp 2024-03-31 10:26:34 -07:00
cache_test.cc Fixing typos in comments and documentation (#14205) 2026-01-02 17:25:57 -08:00
charged_cache.cc Support compressed and local flash secondary cache stacking (#11812) 2023-09-21 20:30:53 -07:00
charged_cache.h Support compressed and local flash secondary cache stacking (#11812) 2023-09-21 20:30:53 -07:00
clock_cache.cc Clarify/rename atomic wrapper stuff + blog post (#14213) 2026-01-05 20:47:46 -08:00
clock_cache.h Clarify/rename atomic wrapper stuff + blog post (#14213) 2026-01-05 20:47:46 -08:00
compressed_secondary_cache.cc DROP support for block-based SST format_version < 2 (#14315) 2026-02-11 14:43:41 -08:00
compressed_secondary_cache.h Refactor, improve CompressedSecondaryCache (#13797) 2025-07-25 13:39:25 -07:00
compressed_secondary_cache_test.cc Remove useless option CompressedSecondaryCacheOptions::compress_format_version (#14302) 2026-02-04 15:11:09 -08:00
lru_cache.cc Standardize on clang-format version 18 (#13233) 2024-12-19 10:58:40 -08:00
lru_cache.h Provide a way to invoke a callback for a Cache handle (#12987) 2024-09-06 14:54:09 -07:00
lru_cache_test.cc Remove deprecated DB::Open raw pointer variants (and more) (#14335) 2026-02-17 23:33:39 -08:00
secondary_cache.cc Standardize on clang-format version 18 (#13233) 2024-12-19 10:58:40 -08:00
secondary_cache_adapter.cc Typo fix (#14024) 2025-10-03 14:28:37 -07:00
secondary_cache_adapter.h Make CacheWithSecondaryAdapter reservation accounting more robust (#12059) 2023-11-14 16:25:52 -08:00
sharded_cache.cc Add APIs to query secondary cache capacity and usage for TieredCache (#12011) 2023-10-25 16:54:50 -07:00
sharded_cache.h Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00
tiered_secondary_cache.cc Add some compressed and tiered secondary cache stats (#12150) 2023-12-15 11:34:08 -08:00
tiered_secondary_cache.h Remove 'virtual' when implied by 'override' (#12319) 2024-01-31 13:14:42 -08:00
tiered_secondary_cache_test.cc Update test implementations for MultiRead with fs_scratch reuse (#13195) 2024-12-17 16:36:04 -08:00
typed_cache.h Prefer static_cast in place of most reinterpret_cast (#12308) 2024-02-07 10:44:11 -08:00