summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2022-10-26 21:03:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-26 21:31:52 +0000
commitf60a01630cb8ae42daa4de0f163e9f0899fe571c (patch)
tree6f6edb91a6f6c4acd6b9a3b66a443c9495c7827c
parent3961dc9340303632deb6d5341ab09a47e0dd8625 (diff)
downloadmongo-f60a01630cb8ae42daa4de0f163e9f0899fe571c.tar.gz
SERVER-70782 Have StorageInterfaceImpl::setIndexIsMultikey to create NamespaceStringOrUUID with DatabaseName object
-rw-r--r--buildscripts/resmokeconfig/suites/native_tenant_data_isolation_jscore_passthrough.yml1
-rw-r--r--src/mongo/db/repl/storage_interface_impl.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/resmokeconfig/suites/native_tenant_data_isolation_jscore_passthrough.yml b/buildscripts/resmokeconfig/suites/native_tenant_data_isolation_jscore_passthrough.yml
index 8d06f9a4717..52ef9641034 100644
--- a/buildscripts/resmokeconfig/suites/native_tenant_data_isolation_jscore_passthrough.yml
+++ b/buildscripts/resmokeconfig/suites/native_tenant_data_isolation_jscore_passthrough.yml
@@ -6,6 +6,7 @@ selector:
# Currently, the test suite is only used for verify the override implemented by inject_security_token.js.
- jstests/core/basic8.js
- jstests/core/count.js
+ - jstests/core/all.js
executor:
archive:
diff --git a/src/mongo/db/repl/storage_interface_impl.cpp b/src/mongo/db/repl/storage_interface_impl.cpp
index bc2bca08847..24cd1419970 100644
--- a/src/mongo/db/repl/storage_interface_impl.cpp
+++ b/src/mongo/db/repl/storage_interface_impl.cpp
@@ -586,7 +586,7 @@ Status StorageInterfaceImpl::setIndexIsMultikey(OperationContext* opCtx,
}
return writeConflictRetry(opCtx, "StorageInterfaceImpl::setIndexIsMultikey", nss.ns(), [&] {
- const NamespaceStringOrUUID nsOrUUID(nss.db().toString(), collectionUUID);
+ const NamespaceStringOrUUID nsOrUUID(nss.dbName(), collectionUUID);
boost::optional<AutoGetCollection> autoColl;
try {
autoColl.emplace(opCtx, nsOrUUID, MODE_IX);