From 7d925439532fd9bbe222f679bfd2a9de99ce476d Mon Sep 17 00:00:00 2001 From: Jack Mulrow Date: Fri, 20 Dec 2019 22:22:42 +0000 Subject: SERVER-44890 MongoD RWCDefaults get refreshed through the OpObserver --- src/mongo/s/commands/cluster_rwc_defaults_commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/s') diff --git a/src/mongo/s/commands/cluster_rwc_defaults_commands.cpp b/src/mongo/s/commands/cluster_rwc_defaults_commands.cpp index e7976c147e4..756a5b8eeb5 100644 --- a/src/mongo/s/commands/cluster_rwc_defaults_commands.cpp +++ b/src/mongo/s/commands/cluster_rwc_defaults_commands.cpp @@ -110,7 +110,7 @@ public: using InvocationBase::InvocationBase; Response typedRun(OperationContext* opCtx) { - if (request().getInMemory()) { + if (request().getInMemory() && *request().getInMemory()) { return ReadWriteConcernDefaults::get(opCtx->getServiceContext()).getDefault(opCtx); } -- cgit v1.2.1