rocksdb/table
Haobo Xu 05e8854085 [Rocksdb] Support Merge operation in rocksdb
Summary:
This diff introduces a new Merge operation into rocksdb.
The purpose of this review is mostly getting feedback from the team (everyone please) on the design.

Please focus on the four files under include/leveldb/, as they spell the client visible interface change.
include/leveldb/db.h
include/leveldb/merge_operator.h
include/leveldb/options.h
include/leveldb/write_batch.h

Please go over local/my_test.cc carefully, as it is a concerete use case.

Please also review the impelmentation files to see if the straw man implementation makes sense.

Note that, the diff does pass all make check and truly supports forward iterator over db and a version
of Get that's based on iterator.

Future work:
- Integration with compaction
- A raw Get implementation

I am working on a wiki that explains the design and implementation choices, but coding comes
just naturally and I think it might be a good idea to share the code earlier. The code is
heavily commented.

Test Plan: run all local tests

Reviewers: dhruba, heyongqiang

Reviewed By: dhruba

CC: leveldb, zshao, sheki, emayanke, MarkCallaghan

Differential Revision: https://reviews.facebook.net/D9651
2013-05-03 16:59:02 -07:00
..
block_builder.cc A number of fixes: 2011-10-31 17:22:06 +00:00
block_builder.h A number of fixes: 2011-10-31 17:22:06 +00:00
block_test.cc [RocksDB] Move table.h to table/ 2013-04-22 16:07:56 -07:00
block.cc [RocksDB] Refactor table.cc to reduce code duplication and improve readability. 2013-04-29 09:43:36 -07:00
block.h [RocksDB] Refactor table.cc to reduce code duplication and improve readability. 2013-04-29 09:43:36 -07:00
filter_block_test.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
filter_block.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
filter_block.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
format.cc [RocksDB] Refactor table.cc to reduce code duplication and improve readability. 2013-04-29 09:43:36 -07:00
format.h [RocksDB] Refactor table.cc to reduce code duplication and improve readability. 2013-04-29 09:43:36 -07:00
iter_heap.h Use a priority queue to merge files. 2013-01-02 13:52:25 -08:00
iterator_wrapper.h Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
iterator.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
merger.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
merger.h A number of fixes: 2011-10-31 17:22:06 +00:00
table_builder.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
table_test.cc [RocksDB] Move table.h to table/ 2013-04-22 16:07:56 -07:00
table.cc [Rocksdb] Support Merge operation in rocksdb 2013-05-03 16:59:02 -07:00
table.h [Rocksdb] Support Merge operation in rocksdb 2013-05-03 16:59:02 -07:00
two_level_iterator.cc [RocksDB] Move table.h to table/ 2013-04-22 16:07:56 -07:00
two_level_iterator.h Ability to configure bufferedio-reads, filesystem-readaheads and mmap-read-write per database. 2013-03-20 23:14:03 -07:00