Skip to content
  • Andrew Kryczka's avatar
    Cleanup stale manifests outside of full purge · d9620239
    Andrew Kryczka authored
    Summary:
    - Keep track of obsolete manifests in VersionSet
    - Updated FindObsoleteFiles() to put obsolete manifests in the JobContext for later use by PurgeObsoleteFiles()
    - Added test case that verifies a stale manifest is deleted by a non-full purge
    
    Test Plan:
      $ ./backupable_db_test --gtest_filter=BackupableDBTest.ChangeManifestDuringBackupCreation
    
    Reviewers: IslamAbdelRahman, yoshinorim, sdong
    
    Reviewed By: sdong
    
    Subscribers: andrewkr, leveldb, dhruba
    
    Differential Revision: https://reviews.facebook.net/D55269
    d9620239