sdong b118238a57 Trivial move to cover multiple input levels
Summary: Now trivial move is only triggered when moving from level n to n+1. With dynamic level base, it is possible that file is moved from level 0 to level n, while levels from 1 to n-1 are empty. Extend trivial move to this case.

Test Plan: Add a more unit test of sequential loading. Non-trivial compaction happened without the patch and now doesn't happen.

Reviewers: rven, yhchiang, MarkCallaghan, igor

Reviewed By: igor

Subscribers: leveldb, dhruba, IslamAbdelRahman

Differential Revision: https://reviews.facebook.net/D36669
2015-04-08 09:26:40 -07:00
..
2015-04-06 12:50:44 -07:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-04-06 17:37:36 -07:00
2015-04-06 12:50:44 -07:00
2015-03-17 14:08:00 -07:00
2015-02-26 11:28:41 -08:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2015-01-26 11:48:07 -08:00
2015-04-07 16:25:56 -07:00
2015-03-17 14:08:00 -07:00
2015-04-07 16:25:56 -07:00
2015-02-18 11:49:31 -08:00
2015-01-13 12:27:28 -08:00
2015-02-26 11:28:41 -08:00
2015-03-30 16:05:35 -04:00
2015-03-17 14:08:00 -07:00
2015-02-26 11:28:41 -08:00
2014-11-06 11:14:28 -08:00
2015-02-06 08:44:30 -08:00
2015-03-17 14:08:00 -07:00
2014-10-31 11:59:54 -07:00
2015-02-06 08:44:30 -08:00
2015-02-26 11:28:41 -08:00
2014-11-10 17:39:38 -05:00
2014-09-13 14:14:10 -07:00
2014-09-12 16:23:58 -07:00