summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl')
-rw-r--r--src/mongo/db/repl/tenant_migration_shard_merge_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/tenant_migration_shard_merge_util.cpp b/src/mongo/db/repl/tenant_migration_shard_merge_util.cpp
index 99f65df2274..05779a48618 100644
--- a/src/mongo/db/repl/tenant_migration_shard_merge_util.cpp
+++ b/src/mongo/db/repl/tenant_migration_shard_merge_util.cpp
@@ -39,7 +39,7 @@
#include "mongo/bson/bsonobjbuilder.h"
#include "mongo/db/catalog/collection_catalog.h"
#include "mongo/db/catalog/create_collection.h"
-#include "mongo/db/catalog/uncommitted_collections.h"
+#include "mongo/db/catalog/uncommitted_catalog_updates.h"
#include "mongo/db/concurrency/d_concurrency.h"
#include "mongo/db/concurrency/write_conflict_exception.h"
#include "mongo/db/cursor_server_params_gen.h"
@@ -215,7 +215,7 @@ void wiredTigerImportFromBackupCursor(OperationContext* opCtx,
opCtx->recoveryUnit()->registerChange(
makeCountsChange(ownedCollection->getRecordStore(), collectionMetadata));
- UncommittedCollections::addToTxn(opCtx, std::move(ownedCollection));
+ CollectionCatalog::get(opCtx)->onCreateCollection(opCtx, std::move(ownedCollection));
// TODO SERVER-63789 Uncomment wunit.commit() call below when we
// make file copy/import async.
// wunit.commit();