rocksdb/utilities/blob_db
Yi Wu a6d3de4e7a BlobDB: Implement DisableFileDeletions (#4314)
Summary:
`DB::DiableFileDeletions` and `DB::EnableFileDeletions` are used for applications to stop RocksDB background jobs to delete files while they are doing replication. Implement these methods for BlobDB. `DeleteObsolteFiles` now needs to check `disable_file_deletions_` before starting, and will hold `delete_file_mutex_` the whole time while it is running. `DisableFileDeletions` needs to wait on `delete_file_mutex_` for running `DeleteObsolteFiles` job and set `disable_file_deletions_` flag.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4314

Differential Revision: D9501373

Pulled By: yiwu-arbug

fbshipit-source-id: 81064c1228f1724eff46da22b50ff765b16292cd
2018-08-27 10:58:29 -07:00
..
blob_compaction_filter.cc Blob DB: Improve FIFO eviction 2018-03-06 11:57:42 -08:00
blob_compaction_filter.h Blob DB: Improve FIFO eviction 2018-03-06 11:57:42 -08:00
blob_db_impl_filesnapshot.cc BlobDB: Implement DisableFileDeletions (#4314) 2018-08-27 10:58:29 -07:00
blob_db_impl.cc BlobDB: Implement DisableFileDeletions (#4314) 2018-08-27 10:58:29 -07:00
blob_db_impl.h BlobDB: Implement DisableFileDeletions (#4314) 2018-08-27 10:58:29 -07:00
blob_db_iterator.h Change and clarify the relationship between Valid(), status() and Seek*() for all iterators. Also fix some bugs 2018-05-17 02:56:56 -07:00
blob_db_listener.h Blob DB: Improve FIFO eviction 2018-03-06 11:57:42 -08:00
blob_db_test.cc BlobDB: Implement DisableFileDeletions (#4314) 2018-08-27 10:58:29 -07:00
blob_db.cc BlobDB: Cleanup TTLExtractor interface (#4229) 2018-08-06 11:58:05 -07:00
blob_db.h BlobDB: Can return expiration together with Get() (#4227) 2018-08-06 17:43:14 -07:00
blob_dump_tool.cc Digest ZSTD compression dictionary once per SST file (#4251) 2018-08-23 19:28:18 -07:00
blob_dump_tool.h Blob DB: blob_dump to show uncompressed values 2018-04-05 11:12:16 -07:00
blob_file.cc Blob DB: enable readahead for garbage collection (#3648) 2018-06-23 23:12:00 -07:00
blob_file.h BlobDB: is_fifo=true also evict non-TTL blob files (#4049) 2018-06-25 22:43:05 -07:00
blob_index.h Blob DB: Inline small values in base DB 2017-10-26 12:30:54 -07:00
blob_log_format.cc BlobDB: Remove the need to get sequence number per write 2017-12-15 13:27:30 -08:00
blob_log_format.h BlobDB: Remove the need to get sequence number per write 2017-12-15 13:27:30 -08:00
blob_log_reader.cc Blob DB: enable readahead for garbage collection (#3648) 2018-06-23 23:12:00 -07:00
blob_log_reader.h Blob DB: enable readahead for garbage collection (#3648) 2018-06-23 23:12:00 -07:00
blob_log_writer.cc BlobDB: refactor DB open logic 2017-12-11 12:12:38 -08:00
blob_log_writer.h BlobDB: refactor DB open logic 2017-12-11 12:12:38 -08:00