diff options
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) |