• M
    Improving condition for bottommost level during compaction · a5e312a7
    Mayank Pundir 提交于
    Summary: The diff modifies the condition checked to determine the bottommost level during compaction. Previously, absence of files in higher levels alone was used as the condition. Now, the function additionally evaluates if the higher levels have files which have non-overlapping key ranges, then the level can be safely considered as the bottommost level.
    
    Test Plan: Unit test cases added and passing. However, unit tests of universal compaction are failing as a result of the changes made in this diff. Need to understand why that is happening.
    
    Reviewers: igor
    
    Subscribers: dhruba, sdong, lgalanis, meyering
    
    Differential Revision: https://reviews.facebook.net/D46473
    a5e312a7
compaction.h 10.7 KB