rocksdb/include/rocksdb
Sagar Vemuri 9a44b4c32c Allow merge operator to be called even with a single operand
Summary:
Added a function `MergeOperator::DoesAllowSingleMergeOperand()` to allow invoking a merge operator even with a single merge operand, if overriden.

This is needed for Cassandra-on-RocksDB work. All Cassandra writes are through merges and this will allow a single merge-value to be updated in the merge-operator invoked via a compaction, if needed, due to an expired TTL.
Closes https://github.com/facebook/rocksdb/pull/2721

Differential Revision: D5608706

Pulled By: sagar0

fbshipit-source-id: f299f9f91c4d1ac26e48bd5906e122c1c5e5f3fc
2017-08-16 23:42:00 -07:00
..
utilities add VerifyChecksum() to db.h 2017-08-09 15:58:13 -07:00
advanced_options.h Change RocksDB License 2017-07-15 16:11:23 -07:00
c.h expose set_skip_stats_update_on_db_open to C bindings 2017-08-11 12:16:45 -07:00
cache.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
cleanable.h enable PinnableSlice for RowCache 2017-07-17 15:08:30 -07:00
compaction_filter.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
compaction_job_stats.h Change RocksDB License 2017-07-15 16:11:23 -07:00
comparator.h Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
convenience.h add VerifyChecksum() to db.h 2017-08-09 15:58:13 -07:00
db_bench_tool.h Change RocksDB License 2017-07-15 16:11:23 -07:00
db_dump_tool.h Change RocksDB License 2017-07-15 16:11:23 -07:00
db.h add VerifyChecksum() to db.h 2017-08-09 15:58:13 -07:00
env_encryption.h Change RocksDB License 2017-07-15 16:11:23 -07:00
env.h Windows.h macro call fix 2017-08-10 11:39:29 -07:00
experimental.h Change RocksDB License 2017-07-15 16:11:23 -07:00
filter_policy.h Fix missing stdlib include required for abort() 2017-08-15 12:32:11 -07:00
flush_block_policy.h Change RocksDB License 2017-07-15 16:11:23 -07:00
iostats_context.h Change RocksDB License 2017-07-15 16:11:23 -07:00
iterator.h Add Iterator::Refresh() 2017-07-24 10:54:37 -07:00
ldb_tool.h Change RocksDB License 2017-07-15 16:11:23 -07:00
listener.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
memtablerep.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
merge_operator.h Allow merge operator to be called even with a single operand 2017-08-16 23:42:00 -07:00
metadata.h Change RocksDB License 2017-07-15 16:11:23 -07:00
options.h Change RocksDB License 2017-07-15 16:11:23 -07:00
perf_context.h Change RocksDB License 2017-07-15 16:11:23 -07:00
perf_level.h Change RocksDB License 2017-07-15 16:11:23 -07:00
persistent_cache.h Change RocksDB License 2017-07-15 16:11:23 -07:00
rate_limiter.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
slice_transform.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
slice.h Fix UBSAN issue of passing nullptr to memcmp 2017-07-24 10:54:37 -07:00
snapshot.h Change RocksDB License 2017-07-15 16:11:23 -07:00
sst_dump_tool.h Change RocksDB License 2017-07-15 16:11:23 -07:00
sst_file_manager.h Change RocksDB License 2017-07-15 16:11:23 -07:00
sst_file_writer.h Change RocksDB License 2017-07-15 16:11:23 -07:00
statistics.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
status.h Change RocksDB License 2017-07-15 16:11:23 -07:00
table_properties.h FIFO Compaction with TTL 2017-06-27 17:11:48 -07:00
table.h Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
thread_status.h Change RocksDB License 2017-07-15 16:11:23 -07:00
threadpool.h Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_log.h Change RocksDB License 2017-07-15 16:11:23 -07:00
types.h Change RocksDB License 2017-07-15 16:11:23 -07:00
universal_compaction.h Change RocksDB License 2017-07-15 16:11:23 -07:00
version.h Change RocksDB License 2017-07-15 16:11:23 -07:00
wal_filter.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
write_batch_base.h Change RocksDB License 2017-07-15 16:11:23 -07:00
write_batch.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
write_buffer_manager.h Change RocksDB License 2017-07-15 16:11:23 -07:00