rocksdb/utilities
Hasnain Lakhani 31b02dc21d Improve Backup Engine.
Summary:
Improve the backup engine by not deleting the corrupted
backup when it is detected; instead leaving it to the client
to delete the corrupted backup.

Also add a BackupEngine::Open() call.

Test Plan:
Add check to CorruptionTest inside backupable_db_test
to check that the corrupt backups are not deleted. The previous
version of the code failed this test as backups were deleted,
but after the changes in this commit, this test passes.

Run make check to ensure that no other tests fail.

Reviewers: sdong, benj, sanketh, sumeet, igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D28521
2014-11-13 09:51:41 -08:00
..
backupable Improve Backup Engine. 2014-11-13 09:51:41 -08:00
compacted_db Enforce naming convention of getters in version_set.h 2014-11-04 09:59:05 -08:00
document Turn -Wshadow back on 2014-11-06 11:14:28 -08:00
geodb Turn on -Wshorten-64-to-32 and fix all the errors 2014-11-11 16:47:22 -05:00
merge_operators
redis Turn on -Wshorten-64-to-32 and fix all the errors 2014-11-11 16:47:22 -05:00
spatialdb Turn on -Wshorten-64-to-32 and fix all the errors 2014-11-11 16:47:22 -05:00
ttl Turn on -Wshorten-64-to-32 and fix all the errors 2014-11-11 16:47:22 -05:00
write_batch_with_index Turn on -Wshorten-64-to-32 and fix all the errors 2014-11-11 16:47:22 -05:00
merge_operators.h