diff options
author | Vesselina Ratcheva <vesselina.ratcheva@10gen.com> | 2020-08-27 01:17:01 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-02 07:06:59 +0000 |
commit | 424f5664acf946638f1b66f007d96bc20a559d4c (patch) | |
tree | 10344fe44cba4ef505ca18a4790cfeda53063102 /src/mongo/db/repl/database_cloner.h | |
parent | b6cfd0bfc1670da1c570fad4da9c28e99e69857e (diff) | |
download | mongo-424f5664acf946638f1b66f007d96bc20a559d4c.tar.gz |
SERVER-50492 Split BaseCloner into InitialSyncBaseCloner and TenantMigrationBaseCloner
Diffstat (limited to 'src/mongo/db/repl/database_cloner.h')
-rw-r--r-- | src/mongo/db/repl/database_cloner.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mongo/db/repl/database_cloner.h b/src/mongo/db/repl/database_cloner.h index e1787ad7a5e..c172c80876a 100644 --- a/src/mongo/db/repl/database_cloner.h +++ b/src/mongo/db/repl/database_cloner.h @@ -31,15 +31,15 @@ #include <vector> -#include "mongo/base/checked_cast.h" #include "mongo/db/repl/base_cloner.h" #include "mongo/db/repl/collection_cloner.h" +#include "mongo/db/repl/initial_sync_base_cloner.h" #include "mongo/db/repl/initial_sync_shared_data.h" namespace mongo { namespace repl { -class DatabaseCloner final : public BaseCloner { +class DatabaseCloner final : public InitialSyncBaseCloner { public: struct Stats { std::string dbname; @@ -74,11 +74,6 @@ protected: bool isMyFailPoint(const BSONObj& data) const final; - InitialSyncSharedData* getSharedData() const override { - return checked_cast<InitialSyncSharedData*>(BaseCloner::getSharedData()); - } - - private: friend class DatabaseClonerTest; |