• I
    keep_log_files option in BackupableDB · 9caeff51
    Igor Canadi 提交于
    Summary:
    Added an option to BackupableDB implementation that allows users to persist in-memory databases. When the restore happens with keep_log_files = true, it will
    *) Not delete existing log files in wal_dir
    *) Move log files from archive directory to wal_dir, so that DB can replay them if necessary
    
    Test Plan: Added an unit test
    
    Reviewers: dhruba, ljin
    
    Reviewed By: dhruba
    
    CC: leveldb
    
    Differential Revision: https://reviews.facebook.net/D16941
    9caeff51
backupable_db.h 7.6 KB