rocksdb/java
Maysam Yabandeh b878f93c70 Extend Transaction::GetForUpdate with do_validate (#4680)
Summary:
Transaction::GetForUpdate is extended with a do_validate parameter with default value of true. If false it skips validating the snapshot (if there is any) before doing the read. After the read it also returns the latest value (expects the ReadOptions::snapshot to be nullptr). This allows RocksDB applications to use GetForUpdate similarly to how InnoDB does. Similarly ::Merge, ::Put, ::Delete, and ::SingleDelete are extended with assume_exclusive_tracked with default value of false. It true it indicates that call is assumed to be after a ::GetForUpdate(do_validate=false).
The Java APIs are accordingly updated.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4680

Differential Revision: D13068508

Pulled By: maysamyabandeh

fbshipit-source-id: f0b59db28f7f6a078b60844d902057140765e67d
2018-12-06 17:49:00 -08:00
..
benchmark/src/main/java/org/rocksdb/benchmark Expose max_background_jobs option in RocksJava 2017-09-20 10:26:37 -07:00
crossbuild Build improvements: Split docker targets and parallelize java builds 2018-07-23 13:28:37 -07:00
rocksjni Extend Transaction::GetForUpdate with do_validate (#4680) 2018-12-06 17:49:00 -08:00
samples/src/main/java Add TransactionDB and OptimisticTransactionDB to the Java API 2018-03-02 10:34:13 -08:00
src Extend Transaction::GetForUpdate with do_validate (#4680) 2018-12-06 17:49:00 -08:00
CMakeLists.txt Plumb WriteBufferManager through JNI (#4492) 2018-10-17 11:49:57 -07:00
HISTORY-JAVA.md Update JAVA-HISTORY.md for v3.13 2015-08-04 18:12:58 -07:00
jdb_bench.sh Suppress lint in old files 2018-01-29 12:56:42 -08:00
Makefile Plumb WriteBufferManager through JNI (#4492) 2018-10-17 11:49:57 -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