rocksdb/utilities/backupable
Andrew Kryczka 5040414e6f Gracefully handle previous backup interrupted
Summary:
As the last step in backup creation, the .tmp directory is renamed omitting the .tmp suffix. In case the process terminates before this, the .tmp directory will be left behind. Even if this happens, we want future backups to succeed, so I added some checks/cleanup for this case.
Closes https://github.com/facebook/rocksdb/pull/1896

Differential Revision: D4597323

Pulled By: ajkr

fbshipit-source-id: 48900d8
2017-02-22 17:39:12 -08:00
..
backupable_db_test.cc Gracefully handle previous backup interrupted 2017-02-22 17:39:12 -08:00
backupable_db.cc Gracefully handle previous backup interrupted 2017-02-22 17:39:12 -08:00