rocksdb/utilities/blob_db
Yi Wu 0552029b5c Blob DB: not writing sequence number as blob record footer
Summary:
Previously each time we write a blob we write blog_record_header + key + value + blob_record_footer to blob log. The footer only contains a sequence and a crc for the sequence number. The sequence number was used in garbage collection to verify the value is recent. After #2703 we moved to use optimistic transaction and no longer use sequence number from the footer. Remove the footer altogether.

There's another usage of sequence number and we are keeping it: Each blob log file keep track of sequence number range of keys in it, and use it to check if it is reference by a snapshot, before being deleted.
Closes https://github.com/facebook/rocksdb/pull/3005

Differential Revision: D6057585

Pulled By: yiwu-arbug

fbshipit-source-id: d6da53c457a316e9723f359a1b47facfc3ffe090
2017-10-17 12:13:08 -07:00
..
blob_db_impl.cc Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -07:00
blob_db_impl.h Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -07:00
blob_db_test.cc Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -07:00
blob_db.cc Fix memory leak on blob db open 2017-09-01 14:13:51 -07:00
blob_db.h Make it explicit blob db doesn't support CF 2017-09-08 11:11:04 -07:00
blob_dump_tool.cc Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -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-10-17 12:13:08 -07:00
blob_file.h Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -07:00
blob_log_format.cc Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -07:00
blob_log_format.h Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -07:00
blob_log_reader.cc Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -07:00
blob_log_reader.h Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -07:00
blob_log_writer.cc Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -07:00
blob_log_writer.h Blob DB: not writing sequence number as blob record footer 2017-10-17 12:13:08 -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