Maysam Yabandeh
208556ee13
WritePrepared: fix Get without snapshot ( #5664 )
...
Summary:
if read_options.snapshot is not set, ::Get will take the last sequence number after taking a super-version and uses that as the sequence number. Theoretically max_eviceted_seq_ could advance this sequence number. This could lead ::IsInSnapshot that will be invoked by the ReadCallback to notice the absence of the snapshot. In this case, the ReadCallback should have passed a non-value to snap_released so that it could be set by the ::IsInSnapshot. The patch does that, and adds a unit test to verify it.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5664
Differential Revision: D16614033
Pulled By: maysamyabandeh
fbshipit-source-id: 06fb3fd4aacd75806ed1a1acec7961f5d02486f2
2019-08-05 13:41:21 -07:00
..
2018-04-12 17:59:16 -07:00
2018-07-13 22:43:09 -07:00
2018-04-12 17:59:16 -07:00
2018-04-12 17:59:16 -07:00
2018-04-12 17:59:16 -07:00
2018-04-12 17:59:16 -07:00
2018-04-12 17:59:16 -07:00
2018-08-17 10:57:25 -07:00
2017-10-12 11:12:16 -07:00
2017-10-12 11:12:16 -07:00
2019-02-22 14:46:46 -08:00
2018-04-12 17:59:16 -07:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2018-04-12 17:59:16 -07:00
2017-10-12 11:12:16 -07:00
2017-10-12 11:12:16 -07:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2018-04-12 17:59:16 -07:00
2019-02-22 14:46:46 -08:00
2018-04-12 17:59:16 -07:00
2018-01-29 12:56:42 -08:00
2018-01-29 12:56:42 -08:00
2018-04-12 17:59:16 -07:00
2017-10-12 11:12:16 -07:00
2018-04-12 17:59:16 -07:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-04-18 10:55:01 -07:00
2018-04-12 17:59:16 -07:00
2019-02-22 14:46:46 -08:00
2018-04-12 17:59:16 -07:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-08-05 13:41:21 -07:00
2018-04-12 17:59:16 -07:00
2018-04-12 17:59:16 -07:00
2018-04-12 17:59:16 -07:00
2018-04-12 17:59:16 -07:00
2018-04-12 17:59:16 -07:00
2019-02-22 14:46:46 -08:00
2018-04-12 17:59:16 -07:00
2018-04-12 17:59:16 -07:00
2019-02-22 14:46:46 -08:00
2018-04-12 17:59:16 -07:00
2019-03-01 10:42:09 -08:00
2018-12-13 14:21:24 -08:00
2018-01-29 12:56:42 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-06-24 11:37:04 -07:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2018-04-12 17:59:16 -07:00
2019-02-22 14:46:46 -08:00
2018-04-12 17:59:16 -07:00
2018-03-02 10:34:13 -08:00
2018-03-02 10:34:13 -08:00
2018-04-12 17:59:16 -07:00
2018-04-12 17:59:16 -07:00
2018-12-06 17:49:00 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-02-22 14:46:46 -08:00
2019-05-30 17:44:09 -07:00
2018-12-03 23:38:27 -08:00
2019-05-31 17:23:59 -07:00
2018-10-17 11:49:57 -07:00
2018-09-05 13:42:34 -07:00
2018-07-06 17:59:13 -07:00