sdong 235b162be1 Not scheduling more L1->L2 compaction if L0->L1 is pending with higher priority
Summary: When L0->L1 is pending, there may be one L1->L2 compaction going on which prevents the L0->L1 compaction from happening. If L1 needs more data to be moved to L2, then we may continue scheduling more L1->L2 compactions. The end result may be that L0->L1 compaction will not happen until L1 size drops to below target size. We can reduce the stalling because of number of L0 files by stopping schedling new L1->L2 compaction when L0's score is higher than L1.

Test Plan: Run all existing tests.

Reviewers: yhchiang, MarkCallaghan, rven, anthony, IslamAbdelRahman, igor

Reviewed By: igor

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D52401
2016-01-08 13:56:57 -08:00
..
2015-07-17 18:59:11 +02:00
2015-12-11 01:54:48 +09:00
2015-12-29 13:22:13 -08:00
2016-01-04 12:01:27 -08:00
2015-12-29 13:22:13 -08:00
2015-09-17 11:42:56 -07:00
2015-04-23 12:10:36 -07:00
2015-12-11 01:54:48 +09:00
2015-03-17 14:08:00 -07:00
2015-07-07 12:10:10 -07:00
2015-11-24 16:33:09 +03:00
2015-11-24 16:33:09 +03:00
2015-08-05 07:33:27 -07:00
2016-01-06 13:43:22 -08:00
2015-12-28 15:06:34 -08:00
2015-03-17 14:08:00 -07:00
2014-11-10 17:39:38 -05:00
2015-09-17 11:42:56 -07:00
2015-05-29 14:36:35 -07:00