diff options
author | Jack Mulrow <jack.mulrow@mongodb.com> | 2019-12-20 22:22:42 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-20 22:22:42 +0000 |
commit | 7d925439532fd9bbe222f679bfd2a9de99ce476d (patch) | |
tree | 79d7be9a7634257cb2e9009d0062363f1e5c7e3c /src/mongo/s | |
parent | 8a002bc23bb65134c7d7b317abd54b846af05938 (diff) | |
download | mongo-7d925439532fd9bbe222f679bfd2a9de99ce476d.tar.gz |
SERVER-44890 MongoD RWCDefaults get refreshed through the OpObserver
Diffstat (limited to 'src/mongo/s')
-rw-r--r-- | src/mongo/s/commands/cluster_rwc_defaults_commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |