From 44eabe39a7208706c3a31e9483fd5218e40fb967 Mon Sep 17 00:00:00 2001 From: Benety Goh Date: Wed, 20 Jul 2016 11:30:03 -0400 Subject: SERVER-25281 renamed CollectionCloner and DatabaseCloner lifecycle functions --- src/mongo/db/repl/databases_cloner.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mongo/db/repl/databases_cloner.cpp') diff --git a/src/mongo/db/repl/databases_cloner.cpp b/src/mongo/db/repl/databases_cloner.cpp index c0155d8fcb7..2e78c1c0995 100644 --- a/src/mongo/db/repl/databases_cloner.cpp +++ b/src/mongo/db/repl/databases_cloner.cpp @@ -107,7 +107,7 @@ void DatabasesCloner::join() { lk.unlock(); for (auto&& cloner : clonersToWaitOn) { - cloner->wait(); + cloner->join(); } lk.lock(); } @@ -131,7 +131,7 @@ void DatabasesCloner::_cancelCloners_inlock(UniqueLock& lk) { lk.unlock(); for (auto&& cloner : clonersToCancel) { - cloner->cancel(); + cloner->shutdown(); } lk.lock(); } @@ -260,7 +260,7 @@ void DatabasesCloner::_onListDatabaseFinish(const CommandCallbackArgs& cbd) { dbCloner->setScheduleDbWorkFn_forTest(_scheduleDbWorkFn); } // Start database cloner. - startStatus = dbCloner->start(); + startStatus = dbCloner->startup(); } catch (...) { startStatus = exceptionToStatus(); } -- cgit v1.2.1