• A
    update DB::AddFile to ingest list of sst files · 8e6b38d8
    Aaron Gao 提交于
    Summary:
    DB::AddFile(std::string file_path) API that allow them to ingest an SST file created using SstFileWriter
    We want to update this interface to be able to accept a list of files that will be ingested, DB::AddFile(std::vector<std::string> file_path_list).
    
    Test Plan:
    Add test case `AddExternalSstFileList` in `DBSSTTest`. To make sure:
    1. files key ranges are not overlapping with each other
    2. each file key range dont overlap with the DB key range
    3. make sure no snapshots are held
    
    Reviewers: andrewkr, sdong, IslamAbdelRahman
    
    Reviewed By: IslamAbdelRahman
    
    Subscribers: andrewkr, dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D58587
    8e6b38d8
db_test_util.cc 34.2 KB