rocksdb/utilities/blob_db
Yi Wu f662f8f0b6 Blob DB: option to enable garbage collection
Summary:
Add an option to enable/disable auto garbage collection, where we keep counting how many keys have been evicted by either deletion or compaction and decide whether to garbage collect a blob file.

Default disable auto garbage collection for now since the whole logic is not fully tested and we plan to make major change to it.
Closes https://github.com/facebook/rocksdb/pull/3117

Differential Revision: D6224756

Pulled By: yiwu-arbug

fbshipit-source-id: cdf53bdccec96a4580a2b3a342110ad9e8864dfe
2017-11-02 15:58:27 -07:00
..
blob_db.cc Blob DB: option to enable garbage collection 2017-11-02 15:58:27 -07:00
blob_db.h Blob DB: option to enable garbage collection 2017-11-02 15:58:27 -07:00
blob_db_impl.cc Blob DB: option to enable garbage collection 2017-11-02 15:58:27 -07:00
blob_db_impl.h
blob_db_iterator.h
blob_db_test.cc Blob DB: Fix flaky BlobDBTest::GCExpiredKeyWhileOverwriting test 2017-11-02 13:27:34 -07:00
blob_dump_tool.cc
blob_dump_tool.h
blob_file.cc
blob_file.h
blob_index.h
blob_log_format.cc
blob_log_format.h
blob_log_reader.cc
blob_log_reader.h
blob_log_writer.cc
blob_log_writer.h
ttl_extractor.cc