rocksdb/utilities/blob_db
Yi Wu 2b8893b9e4 Blob DB: Store blob index as kTypeBlobIndex in base db
Summary:
Blob db insert blob index to base db as kTypeBlobIndex type, to tell apart values written by plain rocksdb or blob db. This is to make it possible to migrate from existing rocksdb to blob db.

Also with the patch blob db garbage collection get away from OptimisticTransaction. Instead it use a custom write callback to achieve similar behavior as OptimisticTransaction. This is because we need to pass the is_blob_index flag to DBImpl::Get but OptimisticTransaction don't support it.
Closes https://github.com/facebook/rocksdb/pull/3000

Differential Revision: D6050044

Pulled By: yiwu-arbug

fbshipit-source-id: 61dc72ab9977625e75f78cd968e7d8a3976e3632
2017-11-02 23:37:07 -07:00
..
blob_db_impl.cc Blob DB: Store blob index as kTypeBlobIndex in base db 2017-11-02 23:37:07 -07:00
blob_db_impl.h Blob DB: Store blob index as kTypeBlobIndex in base db 2017-11-02 23:37:07 -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: Store blob index as kTypeBlobIndex in base db 2017-11-02 23:37:07 -07:00
blob_db.cc Fix memory leak on blob db open 2017-11-02 17:37:40 -07:00
blob_db.h Make it explicit blob db doesn't support CF 2017-11-02 22:29:42 -07:00
blob_dump_tool.cc Blob DB: not writing sequence number as blob record footer 2017-11-02 23:07:27 -07:00
blob_dump_tool.h Change RocksDB License 2017-07-15 16:11:23 -07:00
blob_file.cc Blob DB: not writing sequence number as blob record footer 2017-11-02 23:07:27 -07:00
blob_file.h Blob DB: not writing sequence number as blob record footer 2017-11-02 23:07:27 -07:00
blob_log_format.cc Blob DB: not writing sequence number as blob record footer 2017-11-02 23:07:27 -07:00
blob_log_format.h Blob DB: not writing sequence number as blob record footer 2017-11-02 23:07:27 -07:00
blob_log_reader.cc Blob DB: not writing sequence number as blob record footer 2017-11-02 23:07:27 -07:00
blob_log_reader.h Blob DB: not writing sequence number as blob record footer 2017-11-02 23:07:27 -07:00
blob_log_writer.cc Blob DB: not writing sequence number as blob record footer 2017-11-02 23:07:27 -07:00
blob_log_writer.h Blob DB: not writing sequence number as blob record footer 2017-11-02 23:07:27 -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