Maysam Yabandeh
bc0da4b512
Skip duplicate bloom keys when whole_key and prefix are mixed
...
Summary:
Currently we rely on FilterBitsBuilder to skip the duplicate keys. It does that by comparing that hash of the key to the hash of the last added entry. This logic breaks however when we have whole_key_filtering mixed with prefix blooms as their addition to FilterBitsBuilder will be interleaved. The patch fixes that by comparing the last whole key and last prefix with the whole key and prefix of the new key respectively and skip the call to FilterBitsBuilder if it is a duplicate.
Closes https://github.com/facebook/rocksdb/pull/3764
Differential Revision: D7744413
Pulled By: maysamyabandeh
fbshipit-source-id: 15df73bbbafdfd754d4e1f42ea07f47b03bc5eb8
2018-04-24 10:58:16 -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-03-26 20:26:10 -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-04-20 15:13:05 -07:00
2018-04-20 15:13:05 -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-02-15 16:57:37 -08:00
2018-01-25 14:57:18 -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-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-04-05 15:58:48 -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-24 10:58:16 -07:00
2018-04-24 10:58:16 -07:00
2018-04-24 10:58:16 -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-03-05 13:13:41 -08:00
2017-09-11 12:04:21 -07:00
2017-07-15 16:11:23 -07:00
2018-03-05 13:13:41 -08:00
2017-09-11 12:04:21 -07:00
2017-10-11 14:57:43 -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-04-05 15:58:48 -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-04-09 16:28:19 -07:00
2018-04-15 17:26:26 -07:00
2018-04-15 17:26:26 -07:00