rocksdb/utilities/blob_db
Yi Wu f0dde49cda Blob DB: Fix GC handling for inlined blob
Summary:
Garbage collection checks if the offset in blob index matches the offset of the blob value in the file. If it is a mismatch, the value is the current version. However it failed to check if the blob index is an inlined type, which don't even have an offset. Fixing it.
Closes https://github.com/facebook/rocksdb/pull/3194

Differential Revision: D6394270

Pulled By: yiwu-arbug

fbshipit-source-id: 7c2b9d795f1116f55f4d728086980f9b6e88ea78
2017-11-24 11:56:47 -08:00
..
blob_compaction_filter.h Blob DB: Add compaction filter to remove expired blob index entries 2017-11-02 17:27:38 -07:00
blob_db_impl.cc Blob DB: Fix GC handling for inlined blob 2017-11-24 11:56:47 -08:00
blob_db_impl.h Blob DB: fix snapshot handling 2017-11-02 15:58:27 -07:00
blob_db_iterator.h Blob DB: Store blob index as kTypeBlobIndex in base db 2017-10-17 17:28:11 -07:00
blob_db_test.cc Blob DB: not using PinnableSlice move assignment 2017-11-13 18:12:20 -08:00
blob_db.cc Blob DB: Add compaction filter to remove expired blob index entries 2017-11-02 17:27:38 -07:00
blob_db.h Blob DB: option to enable garbage collection 2017-11-02 15:58:27 -07:00
blob_dump_tool.cc Blob DB: update blob file format 2017-10-27 13:27:12 -07:00
blob_dump_tool.h Change RocksDB License 2017-07-15 16:11:23 -07:00
blob_file.cc Blob DB: Remove some redundant log lines 2017-11-20 21:11:34 -08:00
blob_file.h Blob DB: Fix release build 2017-11-08 13:14:20 -08:00
blob_index.h Blob DB: Inline small values in base DB 2017-10-26 12:30:54 -07:00
blob_log_format.cc Blob DB: update blob file format 2017-10-27 13:27:12 -07:00
blob_log_format.h Blob DB: Initialize all fields in Blob Header, Footer and Record structs 2017-10-31 16:42:08 -07:00
blob_log_reader.cc Blob DB: update blob file format 2017-10-27 13:27:12 -07:00
blob_log_reader.h Blob DB: update blob file format 2017-10-27 13:27:12 -07:00
blob_log_writer.cc Blob DB: update blob file format 2017-10-27 13:27:12 -07:00
blob_log_writer.h Blob DB: update blob file format 2017-10-27 13:27:12 -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