summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog
diff options
context:
space:
mode:
authorMatt Kneiser <matt.kneiser@mongodb.com>2023-03-30 19:01:37 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-30 20:04:46 +0000
commitac4380797e499bf24de13e1fa0d3f1d8d4b8ca70 (patch)
tree60ff58f67c083fc8be25acf7a5a6bfc69eaeca25 /src/mongo/db/catalog
parent9f39fbfba4c54ebc08b5a0f6fe095f565b4b5cf2 (diff)
downloadmongo-ac4380797e499bf24de13e1fa0d3f1d8d4b8ca70.tar.gz
SERVER-71596 renameCollectionAcrossDatabases Cleanup
Diffstat (limited to 'src/mongo/db/catalog')
-rw-r--r--src/mongo/db/catalog/rename_collection.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/catalog/rename_collection.cpp b/src/mongo/db/catalog/rename_collection.cpp
index 08c9d8f5f75..33062ff167d 100644
--- a/src/mongo/db/catalog/rename_collection.cpp
+++ b/src/mongo/db/catalog/rename_collection.cpp
@@ -447,13 +447,6 @@ Status renameCollectionWithinDBForApplyOps(OperationContext* opCtx,
});
}
-/*
- * This is a duplicate of renameBetweenDBs that is intended to replace it.
- * The feature flag - InternalWritesAreReplicatedTransactionally - toggles
- * between the two functions. This function provides batching of all the inserts
- * into the new temporary collection.
- * TODO: SERVER-71596 is tracking the removal of renameBetweenDBs.
- */
Status renameCollectionAcrossDatabases(OperationContext* opCtx,
const NamespaceString& source,
const NamespaceString& target,