diff options
author | Sophia Tan <sophia_tll@hotmail.com> | 2022-07-06 17:04:19 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-06 18:31:40 +0000 |
commit | bab8a18eea2c606f9e05d0c064f90670bf36d327 (patch) | |
tree | ef8e08edde9bc427726d706cfdcadf8938099f06 /src/mongo/db/mongod_main.cpp | |
parent | 3c0fa7f6f17837575cb7a3628e244cec8f50da5f (diff) | |
download | mongo-bab8a18eea2c606f9e05d0c064f90670bf36d327.tar.gz |
SERVER-65488 Change OldClientContext ctor to take in NamespaceString
Diffstat (limited to 'src/mongo/db/mongod_main.cpp')
-rw-r--r-- | src/mongo/db/mongod_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/mongod_main.cpp b/src/mongo/db/mongod_main.cpp index 4c32e81f948..9e53e29420f 100644 --- a/src/mongo/db/mongod_main.cpp +++ b/src/mongo/db/mongod_main.cpp @@ -741,7 +741,7 @@ ExitCode _initAndListen(ServiceContext* serviceContext, int listenPort) { if (replSettings.usingReplSets()) { Lock::GlobalWrite lk(startupOpCtx.get()); - OldClientContext ctx(startupOpCtx.get(), NamespaceString::kRsOplogNamespace.ns()); + OldClientContext ctx(startupOpCtx.get(), NamespaceString::kRsOplogNamespace); tenant_migration_util::createOplogViewForTenantMigrations(startupOpCtx.get(), ctx.db()); } |