]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/log
rocksdb.git
10 years agoFix unity build by removing anonymous namespace
Aaron Feldman [Thu, 2 Jul 2015 19:27:35 +0000 (12:27 -0700)]
Fix unity build by removing anonymous namespace

Summary: see title

Test Plan: run 'make unity'

Reviewers: igor

Reviewed By: igor

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D41079
(cherry picked from commit e70115e71b74e6cce9484fcf2ded7ecb2d77ece3)

10 years agoPrepare 3.12
agiardullo [Thu, 2 Jul 2015 18:08:34 +0000 (11:08 -0700)]
Prepare 3.12

Summary: About to cut release

Test Plan: none

Reviewers: igor

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D41061

10 years agoMultithreaded backup and restore in BackupEngineImpl
Aaron Feldman [Thu, 2 Jul 2015 18:35:51 +0000 (11:35 -0700)]
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