summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_uuid_mismatch.h
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2022-02-10 00:55:18 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-10 01:24:48 +0000
commit755faabbd45050d4bd0567d5c523bd115ea37b84 (patch)
tree2aba2b27d7beb0e96ab782d30d63d8108d1ebd1f /src/mongo/db/catalog/collection_uuid_mismatch.h
parentfdf2fc77653d05550f7f8a55e54f865ed008bbdc (diff)
downloadmongo-755faabbd45050d4bd0567d5c523bd115ea37b84.tar.gz
SERVER-62862 Add `expectedNamespace` to `CollectionUUIDMismatch` error response
Diffstat (limited to 'src/mongo/db/catalog/collection_uuid_mismatch.h')
-rw-r--r--src/mongo/db/catalog/collection_uuid_mismatch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection_uuid_mismatch.h b/src/mongo/db/catalog/collection_uuid_mismatch.h
index 2bd6b8a9e16..01fbb08c358 100644
--- a/src/mongo/db/catalog/collection_uuid_mismatch.h
+++ b/src/mongo/db/catalog/collection_uuid_mismatch.h
@@ -33,6 +33,7 @@
namespace mongo {
void checkCollectionUUIDMismatch(OperationContext* opCtx,
+ const NamespaceString& ns,
const CollectionPtr& coll,
const boost::optional<UUID>& uuid,
bool checkFeatureFlag = true);