rocksdb/utilities/blob_db
Yi Wu 632f36dcd3 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 23:39:50 -07:00
..
blob_db_impl.cc Blob DB: option to enable garbage collection 2017-11-02 23:39:50 -07:00
blob_db_impl.h Blob DB: Evict oldest blob file when close to blob db size limit 2017-11-02 23:39:21 -07:00
blob_db_iterator.h Blob DB: Store blob index as kTypeBlobIndex in base db 2017-11-02 23:37:07 -07:00
blob_db_test.cc Blob DB: Fix flaky BlobDBTest::GCExpiredKeyWhileOverwriting test 2017-11-02 23:39:36 -07:00
blob_db.cc Blob DB: option to enable garbage collection 2017-11-02 23:39:50 -07:00
blob_db.h Blob DB: option to enable garbage collection 2017-11-02 23:39:50 -07:00
blob_dump_tool.cc Blob DB: update blob file format 2017-11-02 23:37:56 -07:00
blob_dump_tool.h Change RocksDB License 2017-07-15 16:11:23 -07:00
blob_file.cc Blob DB: update blob file format 2017-11-02 23:37:56 -07:00
blob_file.h Blob DB: update blob file format 2017-11-02 23:37:56 -07:00
blob_index.h Blob DB: Inline small values in base DB 2017-11-02 23:37:16 -07:00
blob_log_format.cc Blob DB: update blob file format 2017-11-02 23:37:56 -07:00
blob_log_format.h Blob DB: Initialize all fields in Blob Header, Footer and Record structs 2017-11-02 23:38:20 -07:00
blob_log_reader.cc Blob DB: update blob file format 2017-11-02 23:37:56 -07:00
blob_log_reader.h Blob DB: update blob file format 2017-11-02 23:37:56 -07:00
blob_log_writer.cc Blob DB: update blob file format 2017-11-02 23:37:56 -07:00
blob_log_writer.h Blob DB: update blob file format 2017-11-02 23:37:56 -07:00
ttl_extractor.cc Move blob_db/ttl_extractor.h into blob_db/blob_db.h 2017-07-28 14:28:21 -07:00