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
..
2018-07-11 12:28:13 -07:00
2017-07-15 16:11:23 -07:00
2017-10-17 11:13:19 -07:00
2018-04-12 17:59:16 -07:00
2017-10-17 11:13:19 -07:00
2018-11-09 11:19:58 -08:00
2017-07-15 16:11:23 -07:00
2018-02-23 13:57:26 -08:00
2018-04-15 17:26:26 -07:00
2018-11-13 14:39:03 -08:00
2017-12-01 10:42:05 -08:00
2018-08-06 11:13:18 -07:00
2016-10-25 11:31:39 -07:00
2017-07-15 16:11:23 -07:00
2017-07-31 12:12:03 -07:00
2018-09-05 18:13:31 -07:00
2018-07-16 23:43:41 -07:00
2017-10-19 10:57:12 -07:00
2018-08-23 10:12:58 -07:00
2018-04-12 17:59:16 -07:00
2018-08-15 14:30:03 -07:00
2018-06-05 12:58:02 -07:00
2018-06-05 12:58:02 -07:00
2018-10-26 14:30:30 -07:00
2018-07-18 10:43:54 -07:00
2017-11-03 14:42:08 -07:00
2017-07-15 16:11:23 -07:00
2017-08-31 14:16:30 -07:00
2018-09-05 18:13:31 -07:00
2017-08-31 14:16:30 -07:00
2018-09-05 18:13:31 -07:00
2018-06-15 12:42:53 -07:00
2018-07-13 10:58:06 -07:00
2017-08-31 14:16:30 -07:00
2018-09-15 13:43:04 -07:00
2018-11-09 11:19:58 -08:00
2018-07-09 15:28:12 -07:00
2018-04-18 16:32:35 -07:00
2018-08-20 17:43:41 -07:00
2018-03-07 12:42:12 -08:00
2017-10-19 10:57:12 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-08-28 12:43:18 -07:00
2018-07-13 17:27:39 -07:00
2018-09-14 13:29:56 -07:00
2018-08-31 12:12:49 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-07-13 10:58:06 -07:00
2017-07-15 16:11:23 -07:00
2017-12-01 10:42:05 -08:00
2018-11-28 15:29:02 -08:00
2018-12-06 17:49:00 -08:00
2018-11-29 17:33:40 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-11-09 11:19:58 -08:00
2018-11-01 16:19:01 -07:00
2018-10-26 14:30:30 -07:00
2017-07-15 16:11:23 -07:00
2018-10-21 20:17:18 -07:00
2018-07-13 10:58:06 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-09-05 18:13:31 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-04-12 17:59:16 -07:00
2017-10-04 19:15:01 -07:00
2017-10-04 19:15:01 -07:00
2018-09-27 15:28:00 -07:00
2018-10-21 20:17:18 -07:00
2018-03-05 23:57:12 -08:00
2018-11-09 11:19:58 -08:00
2018-06-26 15:57:26 -07:00
2018-09-17 13:14:07 -07:00
2018-09-17 13:14:07 -07:00
2018-07-23 15:44:16 -07:00
2017-07-15 16:11:23 -07:00
2018-07-13 18:44:14 -07:00
2018-02-15 16:57:37 -08:00
2017-07-15 16:11:23 -07:00
2018-06-13 13:13:18 -07:00
2018-06-13 13:13:18 -07:00
2018-10-19 11:53:00 -07:00
2018-06-04 15:58:46 -07:00
2018-07-13 17:27:39 -07:00
2018-07-13 17:27:39 -07:00
2018-11-13 11:17:25 -08:00
2018-11-13 11:17:25 -08:00
2018-03-07 12:42:12 -08:00
2018-03-05 13:13:41 -08:00
2018-10-09 16:58:25 -07:00
2018-06-04 12:12:48 -07:00
2018-10-05 15:41:17 -07:00
2018-10-23 10:35:57 -07:00
2018-04-24 08:41:51 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-11-27 14:27:05 -08:00
2018-11-27 14:27:05 -08:00
2018-10-11 10:50:04 -07:00
2017-12-06 09:42:28 -08:00
2018-07-13 10:58:06 -07:00
2018-10-24 12:31:12 -07:00
2018-11-01 15:44:06 -07:00
2018-11-06 17:18:28 -08:00