rocksdb/examples
Igor Canadi d80ce7f99a Compaction filter on merge operands
Summary:
Since Andres' internship is over, I took over https://reviews.facebook.net/D42555 and rebased and simplified it a bit.

The behavior in this diff is a bit simpler than in D42555:
* only merge operators are passed through FilterMergeValue(). If fitler function returns true, the merge operator is ignored
* compaction filter is *not* called on: 1) results of merge operations and 2) base values that are getting merged with merge operands (the second case was also true in previous diff)

Do we also need a compaction filter to get called on merge results?

Test Plan: make && make check

Reviewers: lovro, tnovak, rven, yhchiang, sdong

Reviewed By: sdong

Subscribers: noetzli, kolmike, leveldb, dhruba, sdong

Differential Revision: https://reviews.facebook.net/D47847
2015-10-07 09:30:03 -07:00
..
.gitignore Compaction filter on merge operands 2015-10-07 09:30:03 -07:00
c_simple_example.c fix typo in c_simple_example 2015-05-22 16:13:11 -07:00
column_families_example.cc fix really trivial typo 2014-12-22 00:36:16 -05:00
compact_files_example.cc Fix compact_files_example 2015-08-25 12:29:44 -07:00
compaction_filter_example.cc Compaction filter on merge operands 2015-10-07 09:30:03 -07:00
Makefile Compaction filter on merge operands 2015-10-07 09:30:03 -07:00
optimistic_transaction_example.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00
README.md Make it easier to start using RocksDB 2014-05-10 10:49:33 -07:00
rocksdb_option_file_example.ini RocksDB Options file format and its serialization / deserialization. 2015-09-29 14:42:40 -07:00
simple_example.cc Added WriteBatch block to simple_example.cc 2015-01-27 19:37:36 -05:00
transaction_example.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00

Compile RocksDB first by executing make static_lib in parent dir