rocksdb/utilities/write_batch_with_index
Andrew Kryczka 3771e37970 WriteBatch support for range deletion
Summary:
Add API to WriteBatch to store range deletions in its buffer
which are later added to memtable. In the WriteBatch buffer, a range
deletion is encoded as "<optype><CF ID (optional)><begin key><end key>".

With this diff, the range tombstones are stored inline with the data in
the memtable. It's useful for now because the test cases rely on the
data being accessible via memtable. My next step is to store range
tombstones in a separate area in the memtable.

Test Plan: unit tests

Reviewers: IslamAbdelRahman, sdong, wanning

Reviewed By: wanning

Subscribers: andrewkr, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D61401
2016-08-16 08:16:04 -07:00
..
write_batch_with_index_internal.cc WriteBatch support for range deletion 2016-08-16 08:16:04 -07:00
write_batch_with_index_internal.h Modification of WriteBatch to support two phase commit 2016-05-10 14:06:07 -07:00
write_batch_with_index_test.cc Add a GetComparator() function to the ColumnFamilyHandle base class so that the user's comparator can be retrieved. 2016-08-02 14:34:57 -07:00
write_batch_with_index.cc WriteBatch support for range deletion 2016-08-16 08:16:04 -07:00