Andrew Kryczka
7b655214d2
Assert keys/values pinned by range deletion meta-block iterators
...
Summary:
`RangeDelAggregator` holds the pointers returned by `BlockIter::key()` and `BlockIter::value()` so requires the data to which they point is pinned. `BlockIter::key()` points into block memory and is guaranteed to be pinned if and only if prefix encoding is disabled (or, equivalently, restart interval is set to one). I think `BlockIter::value()` is always pinned. Added an assert for these and removed the wrong TODO about increasing restart interval, which would enable key prefix encoding and break the assertion.
Closes https://github.com/facebook/rocksdb/pull/3875
Differential Revision: D8063667
Pulled By: ajkr
fbshipit-source-id: 60b5ebcc0cdd610dd6aad9e74a23378793672c41
2018-05-21 09:57:00 -07:00
..
2018-03-05 13:13:41 -08:00
2018-03-05 13:13:41 -08:00
2018-03-21 23:13:05 -07:00
2018-03-27 15:13:56 -07:00
2018-03-21 23:13:05 -07:00
2018-05-21 09:57:00 -07:00
2018-03-26 20:26:10 -07:00
2018-04-12 17:59:16 -07:00
2018-03-26 20:26:10 -07:00
2018-05-17 02:56:56 -07:00
2018-05-17 02:56:56 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-03-23 13:26:55 -07:00
2017-12-12 12:12:38 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-03-05 13:13:41 -08:00
2018-05-18 12:56:55 -07:00
2018-05-18 12:56:55 -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-04-15 17:26:26 -07:00
2017-10-19 10:57:12 -07:00
2017-07-15 16:11:23 -07:00
2018-03-05 13:13:41 -08:00
2018-04-12 17:59:16 -07:00
2018-04-15 17:26:26 -07:00
2018-05-17 02:56:56 -07:00
2018-03-05 13:13:41 -08:00
2018-03-21 23:13:05 -07:00
2018-03-26 20:26:10 -07:00
2018-02-15 16:57:37 -08:00
2018-04-12 17:59:16 -07:00
2018-04-24 10:58:16 -07:00
2018-04-26 13:28:31 -07:00
2018-04-26 13:28:31 -07:00
2018-04-26 13:28:31 -07:00
2018-04-12 17:59:16 -07:00
2018-04-05 15:58:48 -07:00
2017-10-19 10:57:12 -07:00
2018-03-05 13:13:41 -08:00
2018-05-17 02:56:56 -07:00
2017-09-11 12:04:21 -07:00
2018-05-17 02:56:56 -07:00
2018-03-05 13:13:41 -08:00
2017-09-11 12:04:21 -07:00
2018-05-17 02:56:56 -07:00
2017-10-11 14:57:43 -07:00
2017-12-11 15:27:32 -08:00
2017-08-11 12:16:45 -07:00
2018-04-05 15:58:48 -07:00
2018-03-05 13:13:41 -08:00
2017-12-12 21:11:33 -08:00
2018-04-12 17:59:16 -07:00
2018-04-09 16:28:19 -07:00
2018-04-12 17:59:16 -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
2017-07-15 16:11:23 -07:00
2018-03-05 13:13:41 -08:00
2018-03-05 13:13:41 -08:00
2017-07-15 16:11:23 -07:00
2017-12-07 11:57:36 -08:00
2018-03-05 13:13:41 -08:00
2017-07-15 16:11:23 -07:00
2018-05-17 02:56:56 -07:00
2017-07-27 14:30:42 -07:00
2017-07-15 16:11:23 -07:00
2018-03-05 13:13:41 -08:00
2018-03-08 10:27:25 -08:00
2017-10-27 15:00:05 -07:00
2018-01-10 17:11:58 -08:00
2018-01-10 17:11:58 -08:00
2018-04-12 17:59:16 -07:00
2018-03-05 13:13:41 -08:00
2018-05-17 02:56:56 -07:00
2018-05-17 02:56:56 -07:00
2018-04-15 17:26:26 -07:00