summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-10-26 17:51:02 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-26 22:25:18 +0000
commit1c91e25803c01f4ccba5258a80b09735a5df3fad (patch)
tree3168a8eb4b169ff100abbd3054fe55025d820aed /src/mongo
parentf933332eb48e073791f38088df231e365313b119 (diff)
downloadmongo-1c91e25803c01f4ccba5258a80b09735a5df3fad.tar.gz
SERVER-60931 setFCV invokes collMod using db and uuid of collection rather than namespace
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/commands/set_feature_compatibility_version_command.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/set_feature_compatibility_version_command.cpp b/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
index 37908b8e996..3f6065b711e 100644
--- a/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
+++ b/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
@@ -418,7 +418,7 @@ private:
return true;
}
- NamespaceStringOrUUID nsOrUUID(collection->ns());
+ NamespaceStringOrUUID nsOrUUID(dbName, collection->uuid());
CollMod collModCmd(collection->ns());
BSONObjBuilder unusedBuilder;
Status status =
@@ -562,7 +562,7 @@ private:
return true;
}
- NamespaceStringOrUUID nsOrUUID(collection->ns());
+ NamespaceStringOrUUID nsOrUUID(dbName, collection->uuid());
CollMod collModCmd(collection->ns());
BSONObjBuilder unusedBuilder;
Status status =