Andrew Kryczka
b02d0c238d
Init compression dict handle before reading meta-blocks ( #5267 )
...
Summary:
At least one of the meta-block loading functions (`ReadRangeDelBlock`)
uses the same block reading function (`NewDataBlockIterator`) as data
block reads, which means it uses the dictionary handle. However, the
dictionary handle was uninitialized while reading meta-blocks, causing
readers to receive an error. This situation was only noticed when
`cache_index_and_filter_blocks=true`.
This PR initializes the handle to null while reading meta-blocks to
prevent the error. It also adds support to `db_stress` /
`db_crashtest.py` for `cache_index_and_filter_blocks`.
Fixes #5263 .
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5267
Differential Revision: D15149264
Pulled By: maysamyabandeh
fbshipit-source-id: 991d38a306c62db5976778bfb050fa3cd4a0671b
2019-04-30 09:50:49 -07:00
..
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-03-27 16:24:45 -07:00
2019-03-27 16:24:45 -07:00
2019-03-27 16:24:45 -07:00
2019-04-22 16:02:16 -07:00
2019-04-10 19:31:18 -07:00
2019-04-22 08:20:35 -07:00
2019-04-22 08:20:35 -07:00
2019-04-30 09:50:49 -07:00
2019-04-26 21:24:10 -07:00
2019-03-27 16:24:45 -07:00
2019-03-27 16:24:45 -07:00
2019-03-27 16:24:45 -07:00
2019-01-23 18:15:47 -08:00
2019-03-27 16:24:45 -07:00
2019-03-27 16:24:45 -07:00
2019-03-27 16:24:45 -07:00
2019-04-16 11:37:47 -07:00
2019-04-18 11:12:39 -07:00
2017-07-15 16:11:23 -07:00
2019-01-24 10:34:30 -08:00
2017-07-15 16:11:23 -07:00
2018-11-09 11:19:58 -08:00
2018-10-30 15:34:27 -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
2019-02-14 14:41:36 -08:00
2018-08-09 16:58:40 -07:00
2018-08-16 18:42:46 -07:00
2018-08-16 18:42:46 -07:00
2019-03-18 12:15:34 -07:00
2018-08-20 23:13:50 -07:00
2018-08-20 23:13:50 -07:00
2019-04-19 11:10:33 -07:00
2019-02-14 14:41:36 -08:00
2019-04-16 11:37:47 -07:00
2019-03-27 16:24:45 -07:00
2019-03-27 16:24:45 -07:00
2018-04-24 10:58:16 -07:00
2019-04-11 14:28:26 -07:00
2019-04-12 10:45:56 -07:00
2019-04-11 14:28:26 -07:00
2019-01-25 17:12:19 -08:00
2019-04-11 14:28:26 -07:00
2019-04-22 08:20:35 -07:00
2019-04-22 08:20:35 -07:00
2019-04-18 11:12:39 -07:00
2017-09-11 12:04:21 -07:00
2019-04-18 11:12:39 -07:00
2019-04-16 20:28:05 -07:00
2019-02-14 14:41:36 -08:00
2019-02-14 14:41:36 -08:00
2018-08-09 16:58:40 -07:00
2019-04-22 16:02:16 -07:00
2019-03-18 12:15:34 -07:00
2019-04-25 18:17:22 -07:00
2019-04-25 18:17:22 -07:00
2019-04-11 14:28:26 -07:00
2019-02-14 14:41:36 -08:00
2018-09-17 17:28:15 -07:00
2018-09-17 17:28:15 -07:00
2018-11-13 17:02:55 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2019-03-01 15:45:45 -08:00
2019-03-01 15:45:45 -08:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-04 12:12:11 -07:00
2018-05-21 14:43:11 -07:00
2018-03-05 13:13:41 -08:00
2018-11-09 11:19:58 -08:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2017-07-15 16:11:23 -07:00
2019-03-26 10:25:18 -07:00
2019-03-26 10:25:18 -07:00
2019-03-26 10:25:18 -07:00
2019-03-18 12:15:34 -07:00
2019-04-10 19:31:18 -07:00
2018-08-09 16:58:40 -07:00
2019-04-10 19:31:18 -07:00
2019-03-18 12:15:34 -07:00
2019-04-11 14:28:26 -07:00
2019-04-16 11:37:47 -07:00
2019-02-14 14:41:36 -08:00
2018-08-09 16:58:40 -07:00