diff options
author | Vesselina Ratcheva <vesselina.ratcheva@10gen.com> | 2020-08-03 20:24:06 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-12 20:57:45 +0000 |
commit | c999fbe8a0cb200ed0e23e23cddafde4abb028e8 (patch) | |
tree | 4b1e330597d2ff4e462447316a988bf52a06bc5b /src/mongo/db/repl/tenant_database_cloner.h | |
parent | d86d2f5df9c93da3c9a9d6c7e8852b5c674cb0bb (diff) | |
download | mongo-c999fbe8a0cb200ed0e23e23cddafde4abb028e8.tar.gz |
SERVER-48845 Implement TenantCollectionCloner
Diffstat (limited to 'src/mongo/db/repl/tenant_database_cloner.h')
-rw-r--r-- | src/mongo/db/repl/tenant_database_cloner.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/repl/tenant_database_cloner.h b/src/mongo/db/repl/tenant_database_cloner.h index 1684231ab0d..e0bf8f98ca9 100644 --- a/src/mongo/db/repl/tenant_database_cloner.h +++ b/src/mongo/db/repl/tenant_database_cloner.h @@ -57,7 +57,8 @@ public: const HostAndPort& source, DBClientConnection* client, StorageInterface* storageInterface, - ThreadPool* dbPool); + ThreadPool* dbPool, + StringData tenantId); virtual ~TenantDatabaseCloner() = default; @@ -123,6 +124,9 @@ private: TenantDatabaseClonerStage _listCollectionsStage; // (R) + // The database name prefix of the tenant associated with this migration. + std::string _tenantId; // (R) + // The operationTime returned with the listCollections result. Timestamp _operationTime; // (X) |