Maysam Yabandeh
d56ac22b44
Remove duplicates from SnapshotList::GetAll ( #4860 )
...
Summary:
The vector returned by SnapshotList::GetAll could have duplicate entries if two separate snapshots have the same sequence number. However, when this vector is used in compaction the duplicate entires are of no use and could be safely ignored. Moreover not having duplicate entires simplifies reasoning in the compaction_iterator.cc code. For example when searching for the previous_snap we currently use the snapshot before the current one but the way the code uses that it expects it to be also less than the current snapshot, which would be simpler to read if there is no duplicate entry in the snapshot list.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4860
Differential Revision: D13615502
Pulled By: maysamyabandeh
fbshipit-source-id: d45bf01213ead5f39db811f951802da6fcc3332b
2019-01-09 16:25:42 -08:00
..
2018-12-17 17:33:46 -08:00
2018-12-17 13:20:51 -08:00
2018-12-13 14:21:24 -08:00
2018-12-17 13:52:12 -08:00
2019-01-02 11:17:57 -08:00
2018-12-17 17:33:46 -08:00
2019-01-02 11:42:54 -08:00
2018-12-13 14:21:24 -08:00
2018-10-08 22:54:43 -07:00
2018-12-07 17:06:02 -08:00
2017-08-19 14:10:08 -07:00
2018-12-17 17:33:46 -08:00
2019-01-09 16:25:42 -08:00
2018-12-17 17:33:46 -08:00
2018-07-13 17:27:39 -07:00
2018-11-09 11:19:58 -08:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-11-29 16:04:52 -08:00
2018-11-29 16:04:52 -08:00
2018-11-29 16:04:52 -08:00
2018-07-27 16:12:23 -07:00
2018-05-29 15:44:34 -07:00
2018-11-29 16:04:52 -08:00
2018-11-29 16:04:52 -08:00
2018-10-09 15:19:38 -07:00
2018-10-09 15:19:38 -07:00
2018-07-13 17:27:39 -07:00
2018-11-09 11:19:58 -08:00
2018-12-20 21:59:49 -08:00
2018-07-13 17:27:39 -07:00
2019-01-02 11:42:54 -08:00
2017-10-17 08:57:09 -07:00
2019-01-02 11:17:57 -08:00
2018-11-09 11:19:58 -08:00
2018-12-17 17:33:46 -08:00
2018-12-28 18:02:28 -08:00
2018-11-12 16:42:16 -08:00
2018-11-09 11:19:58 -08:00
2018-11-12 12:24:26 -08:00
2018-12-13 15:12:40 -08:00
2019-01-03 20:56:24 -08:00
2018-10-26 15:08:43 -07:00
2018-08-03 17:42:34 -07:00
2018-11-13 11:32:16 -08:00
2018-12-28 18:02:28 -08:00
2018-12-17 17:33:46 -08:00
2018-12-13 14:21:24 -08:00
2019-01-03 12:40:42 -08:00
2019-01-03 20:56:24 -08:00
2019-01-07 13:52:59 -08:00
2018-10-09 17:15:51 -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
2018-05-21 14:43:11 -07:00
2018-06-12 16:57:36 -07:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2018-11-21 18:31:34 -08:00
2018-11-09 11:19:58 -08:00
2018-12-17 17:33:46 -08:00
2018-06-27 12:23:07 -07:00
2018-10-08 22:54:43 -07:00
2019-01-02 15:08:53 -08:00
2019-01-04 11:24:08 -08:00
2019-01-03 11:05:19 -08:00
2017-07-15 16:11:23 -07:00
2018-09-20 15:15:28 -07:00
2018-07-17 14:43:18 -07:00
2019-01-09 16:25:42 -08:00
2019-01-02 11:42:54 -08:00
2019-01-02 11:42:54 -08:00
2018-12-13 14:21:24 -08:00
2018-10-24 08:17:56 -07:00
2018-12-28 18:02:28 -08:00
2018-05-14 21:13:35 -07:00
2018-07-13 17:42:38 -07:00
2018-08-06 18:27:44 -07:00
2018-10-26 14:30:30 -07:00
2018-07-13 17:27:39 -07:00
2018-09-17 13:14:07 -07:00
2018-10-04 20:46:50 -07:00
2018-10-04 20:46:50 -07:00
2018-09-15 13:43:04 -07:00
2018-09-15 13:43:04 -07:00
2018-04-12 17:59:16 -07:00
2018-12-11 10:21:37 -08:00
2018-10-04 20:46:50 -07:00
2018-07-27 16:12:23 -07:00
2018-11-02 17:26:35 -07:00
2018-11-09 11:19:58 -08:00
2018-03-05 13:13:41 -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
2019-01-09 16:25:42 -08:00
2018-12-17 13:20:51 -08:00
2018-10-15 20:01:17 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-07-13 17:27:39 -07:00
2018-12-17 17:33:46 -08:00
2018-03-05 13:13:41 -08:00
2018-11-05 20:24:40 -08:00
2018-11-05 20:24:40 -08:00
2018-11-09 11:19:58 -08:00
2018-10-12 18:36:11 -07:00
2018-08-24 18:13:20 -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
2018-05-14 10:57:56 -07:00
2018-11-09 11:19:58 -08:00
2018-05-03 15:43:09 -07:00
2018-05-03 15:43:09 -07:00
2019-01-03 16:30:12 -08:00
2017-07-15 16:11:23 -07:00
2018-07-13 17:27:39 -07:00
2019-01-03 20:56:24 -08:00
2019-01-03 20:56:24 -08:00
2019-01-03 20:56:24 -08:00
2018-12-19 17:21:14 -08:00
2019-01-03 20:56:24 -08:00
2018-12-17 17:33:46 -08:00
2017-07-15 16:11:23 -07:00
2018-12-17 17:33:46 -08:00
2018-12-17 17:33:46 -08:00
2017-07-15 16:11:23 -07:00
2018-11-09 11:19:58 -08:00
2018-08-03 13:57:40 -07:00
2018-07-13 17:27:39 -07:00
2018-12-21 13:20:05 -08:00
2017-07-15 16:11:23 -07:00
2018-11-09 11:19:58 -08:00
2018-04-05 11:12:16 -07:00
2018-07-13 17:27:39 -07:00
2018-12-19 13:29:51 -08:00
2018-12-17 17:33:46 -08:00
2018-12-19 15:45:37 -08:00
2018-12-18 14:28:42 -08:00
2018-12-11 12:10:48 -08:00
2018-12-17 13:20:51 -08:00
2018-12-17 13:20:51 -08:00
2018-06-27 12:23:07 -07:00
2018-10-12 10:41:54 -07:00
2018-12-17 13:20:51 -08:00
2018-08-23 10:12:58 -07:00
2017-07-15 16:11:23 -07:00
2019-01-09 16:25:42 -08:00
2018-12-20 12:03:44 -08:00
2018-12-28 18:02:28 -08:00
2018-11-09 11:19:58 -08:00
2018-10-30 15:34:27 -07:00
2018-10-30 15:34:27 -07:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-07-27 16:12:23 -07:00
2018-12-28 18:02:28 -08:00
2018-12-28 18:02:28 -08:00
2018-08-20 14:58:00 -07:00
2019-01-02 11:17:57 -08:00
2018-08-20 14:58:00 -07:00
2019-01-03 20:56:24 -08:00
2019-01-08 12:47:34 -08:00
2018-12-17 17:33:46 -08:00
2018-11-09 11:19:58 -08:00
2018-11-09 11:19:58 -08:00
2018-01-11 18:57:33 -08:00
2017-07-15 16:11:23 -07:00
2018-06-28 18:58:29 -07:00
2018-11-28 15:29:02 -08:00
2018-11-09 11:19:58 -08:00
2018-07-13 17:27:39 -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-11-07 14:07:53 -08:00
2019-01-03 12:40:42 -08:00