sdong
894c6d21af
Bug when multiple files at one level contains the same smallest key ( #6285 )
...
Summary:
The fractional cascading index is not correctly generated when two files at the same level contains the same smallest or largest user key.
The result would be that it would hit an assertion in debug mode and lower level files might be skipped.
This might cause wrong results when the same user keys are of merge operands and Get() is called using the exact user key. In that case, the lower files would need to further checked.
The fix is to fix the fractional cascading index.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6285
Test Plan: Add a unit test which would cause the assertion which would be fixed.
Differential Revision: D19358426
fbshipit-source-id: 39b2b1558075fd95e99491d462a67f9f2298c48e
2020-01-13 16:27:42 -08:00
..
2020-01-10 19:02:42 -08:00
2020-01-07 12:32:20 -08:00
2019-12-17 13:22:57 -08:00
2019-09-13 13:50:43 -07:00
2019-12-11 17:19:43 -08:00
2019-12-13 14:48:41 -08:00
2019-12-13 14:48:41 -08:00
2020-01-07 12:32:20 -08:00
2020-01-10 19:27:09 -08:00
2019-12-18 11:54:35 -08:00
2020-01-10 16:53:19 -08:00
2019-12-17 13:22:57 -08:00
2019-11-01 11:46:19 -07:00
2019-08-06 14:26:44 -07:00
2019-09-11 18:09:00 -07:00
2019-05-30 17:44:09 -07:00
2019-12-13 14:48:41 -08:00
2019-12-13 14:48:41 -08:00
2019-10-21 16:53:06 -07:00
2020-01-09 15:57:39 -08:00
2019-11-19 15:02:41 -08:00
2019-12-17 13:56:45 -08:00
2019-11-26 18:24:10 -08:00
2019-09-09 11:24:11 -07:00
2020-01-10 19:02:42 -08:00
2018-11-12 16:42:16 -08:00
2019-09-05 17:21:42 -07:00
2019-12-12 19:04:48 -08:00
2019-11-27 14:48:49 -08:00
2019-09-20 12:04:26 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-10-29 14:36:31 -07:00
2019-05-30 17:44:09 -07:00
2019-05-30 17:44:09 -07:00
2019-11-19 11:39:02 -08:00
2019-09-19 12:34:17 -07:00
2019-12-18 11:54:35 -08:00
2019-02-14 14:41:36 -08:00
2019-09-09 11:24:11 -07:00
2019-08-06 14:26:44 -07:00
2020-01-10 16:53:19 -08:00
2019-11-26 10:00:32 -08:00
2019-09-16 16:17:09 -07:00
2019-12-12 15:18:02 -08:00
2019-07-06 21:07:32 -07:00
2019-03-01 10:42:09 -08:00
2019-09-09 11:24:11 -07:00
2018-07-17 14:43:18 -07:00
2020-01-13 16:27:42 -08:00
2020-01-07 08:36:44 -08:00
2020-01-07 08:36:44 -08:00
2020-01-07 08:36:44 -08:00
2019-12-09 09:23:50 -08:00
2019-12-13 14:48:41 -08:00
2019-05-30 17:44:09 -07:00
2019-05-31 17:23:59 -07:00
2019-09-20 12:04:26 -07:00
2019-09-11 18:09:00 -07:00
2019-09-18 16:58:21 -07:00
2019-12-12 14:08:02 -08:00
2019-05-31 15:24:43 -07:00
2018-10-04 20:46:50 -07:00
2019-10-14 15:21:01 -07:00
2019-10-14 15:21:01 -07:00
2019-05-31 11:57:01 -07:00
2019-09-13 14:49:47 -07:00
2019-12-13 14:48:41 -08:00
2019-12-13 14:48:41 -08:00
2019-12-12 14:08:02 -08:00
2019-05-31 17:23:59 -07:00
2019-05-30 17:44:09 -07:00
2020-01-13 16:27:42 -08:00
2019-05-30 17:44:09 -07:00
2019-05-31 17:23:59 -07:00
2019-12-13 14:48:41 -08:00
2020-01-06 10:16:52 -08:00
2019-12-13 14:48:41 -08:00
2019-12-12 19:04:48 -08:00
2019-08-23 13:55:34 -07:00
2019-06-06 13:56:07 -07:00
2019-12-17 13:22:57 -08:00
2019-05-30 17:44:09 -07:00
2019-12-13 14:48:41 -08:00
2019-12-13 14:48:41 -08:00
2019-09-20 12:04:26 -07:00
2020-01-08 17:51:42 -08:00
2020-01-07 08:36:44 -08:00
2019-01-15 21:34:38 -08:00
2019-10-24 14:44:15 -07:00
2018-08-24 18:13:20 -07:00
2019-09-16 10:33:51 -07:00
2019-09-16 10:33:51 -07:00
2019-12-13 14:48:41 -08:00
2019-09-16 10:33:51 -07:00
2019-09-11 18:09:00 -07:00
2018-05-03 15:43:09 -07:00
2018-05-03 15:43:09 -07:00
2019-07-25 15:27:39 -07:00
2019-07-02 12:07:01 -07:00
2017-07-15 16:11:23 -07:00
2019-05-30 17:44:09 -07:00
2019-12-13 14:48:41 -08:00
2019-12-16 13:16:31 -08:00
2019-12-16 13:16:31 -08:00
2019-10-24 17:16:46 -07:00
2019-12-13 19:11:19 -08:00
2019-04-11 14:28:26 -07:00
2019-05-30 17:44:09 -07:00
2019-06-04 10:24:14 -07:00
2018-12-17 17:33:46 -08:00
2017-07-15 16:11:23 -07:00
2020-01-10 16:53:19 -08:00
2019-09-18 11:52:17 -07:00
2019-05-31 11:57:01 -07:00
2019-05-30 17:44:09 -07:00
2017-07-15 16:11:23 -07:00
2019-10-21 16:53:06 -07:00
2019-06-10 11:53:31 -07:00
2019-05-31 11:57:01 -07:00
2019-05-30 17:44:09 -07:00
2019-05-30 11:25:51 -07:00
2019-05-31 11:57:01 -07:00
2019-05-31 11:57:01 -07:00
2019-05-30 11:25:51 -07:00
2019-09-20 12:04:26 -07:00
2019-09-05 17:30:29 -07:00
2019-07-23 08:08:19 -07:00
2019-12-13 14:48:41 -08:00
2019-12-13 14:48:41 -08:00
2019-01-16 09:55:32 -08:00
2017-07-15 16:11:23 -07:00
2020-01-07 08:36:44 -08:00
2019-12-13 14:48:41 -08:00
2019-12-13 14:48:41 -08:00
2019-12-13 14:48:41 -08:00
2019-03-18 12:15:34 -07:00
2019-03-18 12:15:34 -07:00
2019-12-13 14:48:41 -08:00
2019-08-26 11:26:29 -07:00
2019-12-12 19:04:48 -08:00
2019-08-23 13:55:34 -07:00
2019-11-26 21:39:56 -08:00
2019-12-13 14:48:41 -08:00
2019-12-13 14:48:41 -08:00
2019-11-26 21:39:56 -08:00
2019-11-26 21:39:56 -08:00
2019-11-26 21:39:56 -08:00
2019-12-13 14:48:41 -08:00
2020-01-06 20:09:51 -08:00
2020-01-06 20:09:51 -08:00
2019-12-13 14:48:41 -08:00
2019-12-13 14:48:41 -08:00
2019-12-13 14:48:41 -08:00
2017-07-15 16:11:23 -07:00
2019-09-12 17:15:18 -07:00
2019-09-09 11:24:11 -07:00
2019-12-16 13:16:31 -08:00
2019-06-10 11:53:31 -07:00
2017-07-15 16:11:23 -07:00
2019-05-30 11:25:51 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2019-09-11 18:28:33 -07:00
2019-09-11 18:28:33 -07:00