rocksdb/utilities/blob_db
Yu Zhang c6c683a0ca Remove the default force behavior for `EnableFileDeletion` API (#12001)
Summary:
Disabling file deletion can be critical for operations like making a backup, recovery from manifest IO error (for now). Ideally as long as there is one caller requesting file deletion disabled, it should be kept disabled until all callers agree to re-enable it. So this PR removes the default forcing behavior for the `EnableFileDeletion` API, and users need to explicitly pass the argument if they insisted on doing so knowing the consequence of what can be potentially disrupted.

This PR removes the API's default argument value so it will cause breakage for all users that are relying on the default value, regardless of whether the forcing behavior is critical for them.  When fixing this breakage, it's good to check if the forcing behavior is indeed needed and potential disruption is OK.

This PR also makes unit test that do not need force behavior to do a regular enable file deletion.

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

Reviewed By: ajkr

Differential Revision: D51214683

Pulled By: jowlyzhang

fbshipit-source-id: ca7b1ebf15c09eed00f954da2f75c00d2c6a97e4
2023-11-10 14:35:54 -08:00
..
blob_compaction_filter.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
blob_compaction_filter.h Change internal headers with duplicate names (#11408) 2023-05-17 11:27:09 -07:00
blob_db.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
blob_db.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
blob_db_gc_stats.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
blob_db_impl.cc Track full_history_ts_low per SuperVersion (#11784) 2023-09-13 16:34:18 -07:00
blob_db_impl.h Remove the default force behavior for `EnableFileDeletion` API (#12001) 2023-11-10 14:35:54 -08:00
blob_db_impl_filesnapshot.cc Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
blob_db_iterator.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
blob_db_listener.h Add missing status check when compiling with `ASSERT_STATUS_CHECKED=1` (#11686) 2023-08-09 15:46:44 -07:00
blob_db_test.cc Remove the default force behavior for `EnableFileDeletion` API (#12001) 2023-11-10 14:35:54 -08:00
blob_dump_tool.cc Group rocksdb.sst.read.micros stat by different user read IOActivity + misc (#11444) 2023-08-08 17:26:50 -07:00
blob_dump_tool.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00
blob_file.cc Group rocksdb.sst.read.micros stat by different user read IOActivity + misc (#11444) 2023-08-08 17:26:50 -07:00
blob_file.h Remove RocksDB LITE (#11147) 2023-01-27 13:14:19 -08:00