rocksdb/java
Pengchao Wang e4234fbdcf collecting kValue type tombstone
Summary:
In our testing cluster, we found large amount tombstone has been promoted to kValue type from kMerge after reaching the top level of compaction. Since we used to only collecting tombstone in merge operator, those tombstones can never be collected.

This PR addresses the issue by adding a GC step in compaction filter, which is only for kValue type records. Since those record already reached the top of compaction (no earlier data exists) we can safely remove them in compaction filter without worrying old data appears.

This PR also removes an old optimization in cassandra merge operator for single merge operands.  We need to do GC even on a single operand, so the optimation does not make sense anymore.
Closes https://github.com/facebook/rocksdb/pull/2855

Reviewed By: sagar0

Differential Revision: D5806445

Pulled By: wpc

fbshipit-source-id: 6eb25629d4ce917eb5e8b489f64a6aa78c7d270b
2017-09-18 16:27:12 -07:00
..
benchmark/src/main/java/org/rocksdb/benchmark Change RocksDB License 2017-07-15 16:11:23 -07:00
crossbuild Switch from CentOS 5 to CentOS 6 for crossbuilding RocksJava 2017-06-05 12:27:24 -07:00
rocksjni collecting kValue type tombstone 2017-09-18 16:27:12 -07:00
samples/src/main/java Fix statistics in RocksJava sample 2017-08-01 16:58:26 -07:00
src collecting kValue type tombstone 2017-09-18 16:27:12 -07:00
CMakeLists.txt garbage collect tombstones in merge operator 2017-08-31 10:11:54 -07:00
HISTORY-JAVA.md Update JAVA-HISTORY.md for v3.13 2015-08-04 18:12:58 -07:00
jdb_bench.sh Moved Java Benchmark main classes into benchmark/src/main/java 2015-02-01 20:05:10 +00:00
Makefile Cassandra compaction filter for purge expired columns and rows 2017-07-21 14:57:44 -07:00
RELEASE.md Fixed packaging of java crossbuild jar by forcing all compiled binaries to be output to the java/target directory. The uber crossbuild jar is then assembled within the java/target directory. 2015-10-12 20:29:58 -04:00
rocksjni.pom Update java/rocksjni.pom 2017-07-18 13:12:23 -07:00