Andrew Kryczka
3b35134e4b
Avoid cache lookups for range deletion meta-block
...
Summary:
I added the Cache::Ref() function a couple weeks ago (#1761 ) to make this feature possible. Like other meta-blocks, rep_->range_del_entry holds a cache handle to pin the range deletion block in uncompressed block cache for the duration of the table reader's lifetime. We can reuse this cache handle to create an iterator over this meta-block without any cache lookup. Ref() is used to increment the cache handle's refcount in case the returned iterator outlives the table reader.
Closes https://github.com/facebook/rocksdb/pull/1801
Differential Revision: D4458782
Pulled By: ajkr
fbshipit-source-id: 2883f10
2017-01-26 11:24:13 -08:00
..
2016-09-20 10:11:51 -07:00
2016-07-20 11:23:31 -07:00
2016-06-03 10:47:47 -07:00
2016-06-10 16:27:56 -07:00
2016-06-10 16:27:56 -07:00
2016-12-13 13:54:15 -08:00
2016-10-18 12:04:56 -07:00
2016-12-22 14:54:19 -08:00
2016-07-20 11:23:31 -07:00
2017-01-26 11:24:13 -08:00
2016-11-12 09:39:23 -08:00
2016-07-12 14:15:32 -07:00
2016-08-19 15:10:31 -07:00
2016-07-08 17:50:51 -07:00
2016-02-09 15:12:00 -08:00
2016-10-18 16:59:37 -07:00
2016-10-18 16:59:37 -07:00
2016-11-04 11:24:14 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2017-01-08 14:24:12 -08:00
2016-07-19 09:44:03 -07:00
2016-04-06 23:10:32 -07:00
2016-04-06 23:10:32 -07:00
2016-07-20 11:23:31 -07:00
2016-07-20 11:23:31 -07:00
2017-01-08 14:24:12 -08:00
2016-09-27 18:20:57 -07:00
2016-09-02 14:16:31 -07:00
2016-06-10 16:27:56 -07:00
2016-07-12 14:15:32 -07:00
2016-11-05 09:24:26 -07:00
2016-11-05 09:24:26 -07:00
2016-06-03 10:47:47 -07:00
2016-06-10 16:27:56 -07:00
2016-06-10 16:27:56 -07:00
2017-01-08 14:24:12 -08:00
2017-01-08 14:24:12 -08:00
2016-10-13 17:36:48 -07:00
2016-02-09 15:12:00 -08:00
2016-09-27 18:20:57 -07:00
2017-01-08 14:24:12 -08:00
2016-02-09 15:12:00 -08:00
2016-10-24 13:13:01 -07:00
2016-10-24 13:13:01 -07:00
2016-10-18 16:59:37 -07:00
2016-07-19 09:44:03 -07:00
2016-10-31 20:54:18 -07:00
2016-09-27 18:20:57 -07:00
2016-05-15 22:17:18 -07:00
2016-05-15 22:17:18 -07:00
2016-11-17 11:09:13 -08:00
2016-04-06 23:10:32 -07:00
2016-08-26 11:46:32 -07:00
2016-07-20 11:23:31 -07:00
2016-02-09 15:12:00 -08:00
2016-09-02 14:16:31 -07:00
2016-02-09 15:12:00 -08:00
2016-02-09 15:12:00 -08:00
2016-11-17 11:09:13 -08:00
2015-12-23 10:15:07 -08:00
2016-10-18 12:04:56 -07:00
2016-10-18 16:59:37 -07:00
2016-12-29 15:09:19 -08:00
2016-09-17 22:30:43 -07:00
2016-08-19 15:10:31 -07:00
2016-11-05 09:24:26 -07:00
2017-01-08 14:24:12 -08:00
2016-11-21 12:24:13 -08:00
2017-01-08 14:24:12 -08:00
2016-09-27 18:20:57 -07:00
2016-02-09 15:12:00 -08:00