• I
    Add experimental DB::AddFile() to plug sst files into empty DB · f03b5c98
    Islam AbdelRahman 提交于
    Summary:
    This is an initial version of bulk load feature
    
    This diff allow us to create sst files, and then bulk load them later, right now the restrictions for loading an sst file are
    (1) Memtables are empty
    (2) Added sst files have sequence number = 0, and existing values in database have sequence number = 0
    (3) Added sst files values are not overlapping
    
    Test Plan: unit testing
    
    Reviewers: igor, ott, sdong
    
    Reviewed By: sdong
    
    Subscribers: leveldb, ott, dhruba
    
    Differential Revision: https://reviews.facebook.net/D39081
    f03b5c98
db_impl.h 32.3 KB