rocksdb/utilities
Aaron Feldman a69bc91e37 Multithreaded backup and restore in BackupEngineImpl
Summary:
Add a new field: BackupableDBOptions.max_background_copies.
CreateNewBackup() and RestoreDBFromBackup() will use this number of threads to perform copies.
If there is a backup rate limit, then max_background_copies must be 1.
Update backupable_db_test.cc to test multi-threaded backup and restore.
Update backupable_db_test.cc to test backups when the backup environment is not the same as the database environment.

Test Plan:
Run ./backupable_db_test
Run valgrind ./backupable_db_test
Run with TSAN and ASAN

Reviewers: yhchiang, rven, anthony, sdong, igor

Reviewed By: igor

Subscribers: yhchiang, anthony, sdong, leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D40725
2015-07-02 11:35:51 -07:00
..
backupable Multithreaded backup and restore in BackupEngineImpl 2015-07-02 11:35:51 -07:00
checkpoint Fixing valgrind error in checkpoint_test 2015-06-19 20:21:23 -07:00
compacted_db Use CompactRangeOptions for CompactRange 2015-06-17 14:36:14 -07:00
convenience fix crashes in stats and compaction filter for db_ttl_impl 2015-05-05 16:54:47 -07:00
document rocksdb: switch to gtest 2015-03-17 14:08:00 -07:00
flashcache Fix the compilation error in flashcache.cc on Mac 2015-04-07 15:27:23 -07:00
geodb Block geodb_test in ROCKSDB_LITE 2015-06-18 15:57:19 -07:00
leveldb_options Added CompatibleOptions for compatibility with LevelDB Options 2014-11-20 19:24:39 -08:00
merge_operators Make stringappend_test runnable in ROCKSDB_LITE 2015-06-24 15:01:43 -07:00
redis Block redis_test in ROCKSDB_LITE 2015-06-24 01:44:21 -07:00
spatialdb Fail DB::Open() when the requested compression is not available 2015-06-18 14:55:05 -07:00
transactions better document max_write_buffer_number_to_maintain 2015-06-02 21:24:19 -07:00
ttl Use CompactRangeOptions for CompactRange 2015-06-17 14:36:14 -07:00
write_batch_with_index Block utilities/write_batch_with_index in ROCKSDB_LITE 2015-06-18 15:54:05 -07:00
merge_operators.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00