sdong 983c93d731 VersionSet::Get(): Bring back the logic of skipping key range check when there are <=3 level 0 files
Summary:
https://reviews.facebook.net/D17205 removed the logic of skipping file key range check when there are less than 3 level 0 files. This patch brings it back.

Other than that, add another small optimization to avoid to check all the levels if most higher levels don't have any file.

Test Plan: make all check

Reviewers: ljin

Reviewed By: ljin

Subscribers: yhchiang, igor, haobo, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D19035
2014-06-13 15:51:44 -07:00
..
2014-04-27 20:57:10 +01:00
2014-05-21 11:43:35 -07:00
2014-05-21 11:43:35 -07:00
2014-04-24 14:56:41 -04:00
2014-05-30 14:31:55 -07:00
2014-05-21 11:43:35 -07:00
2014-06-06 18:04:56 -07:00
2014-06-03 12:28:58 -07:00
2014-04-15 13:39:26 -07:00
2014-06-10 09:57:26 -07:00
2014-04-08 10:58:07 -07:00
2014-05-30 14:31:55 -07:00
2014-06-10 09:57:26 -07:00
2014-06-03 12:28:58 -07:00
2014-02-28 13:19:47 -08:00
2014-01-27 14:49:10 -08:00
2014-03-14 22:44:35 +00:00
2014-04-28 23:46:24 -04:00
2014-03-14 13:02:20 -07:00
2014-01-30 22:10:10 -08:00
2014-04-15 13:39:26 -07:00