rocksdb/cache
Peter Dillinger 351d2fd2b6 Make simple BlockBasedTableOptions mutable (#10021)
Summary:
In theory, there should be no danger in mutability, as table
builders and readers work from copies of BlockBasedTableOptions.
However, there is currently an unresolved read-write race that
affecting SetOptions on BBTO fields. This should be generally
acceptable for non-pointer options of 64 bits or less, but a fix
is needed to make it mutability general here. See
https://github.com/facebook/rocksdb/issues/10079

This change systematically sets all of those "simple" options (and future
such options) as mutable. (Resurrecting this PR perhaps preferable to
proposed https://github.com/facebook/rocksdb/issues/13063)

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

Test Plan: Some unit test updates. XXX comment added to stress test code

Reviewed By: cbi42

Differential Revision: D64360967

Pulled By: pdillinger

fbshipit-source-id: ff220fa778331852fe331b42b76ac4adfcd2d760
2024-10-14 17:49:26 -07:00
..
cache.cc Make simple BlockBasedTableOptions mutable (#10021) 2024-10-14 17:49:26 -07:00
cache_bench.cc
cache_bench_tool.cc
cache_entry_roles.cc
cache_entry_roles.h
cache_entry_stats.h
cache_helpers.cc
cache_helpers.h
cache_key.cc
cache_key.h
cache_reservation_manager.cc
cache_reservation_manager.h
cache_reservation_manager_test.cc
cache_test.cc Provide a way to invoke a callback for a Cache handle (#12987) 2024-09-06 14:54:09 -07:00
charged_cache.cc
charged_cache.h
clock_cache.cc Provide a way to invoke a callback for a Cache handle (#12987) 2024-09-06 14:54:09 -07:00
clock_cache.h Provide a way to invoke a callback for a Cache handle (#12987) 2024-09-06 14:54:09 -07:00
compressed_secondary_cache.cc More accurate accounting of compressed cache memory (#13032) 2024-09-25 17:47:40 -07:00
compressed_secondary_cache.h More accurate accounting of compressed cache memory (#13032) 2024-09-25 17:47:40 -07:00
compressed_secondary_cache_test.cc More accurate accounting of compressed cache memory (#13032) 2024-09-25 17:47:40 -07:00
lru_cache.cc Provide a way to invoke a callback for a Cache handle (#12987) 2024-09-06 14:54:09 -07: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
secondary_cache.cc
secondary_cache_adapter.cc Respect lowest_used_cache_tier option for compressed blocks (#13030) 2024-09-25 11:45:51 -07:00
secondary_cache_adapter.h
sharded_cache.cc
sharded_cache.h
tiered_secondary_cache.cc
tiered_secondary_cache.h
tiered_secondary_cache_test.cc Respect lowest_used_cache_tier option for compressed blocks (#13030) 2024-09-25 11:45:51 -07:00
typed_cache.h