diff options
author | Kevin Pulo <kevin.pulo@mongodb.com> | 2019-11-06 06:39:27 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-11-06 06:39:27 +0000 |
commit | 81238fa87afbe52a9658547f63c79fac126862f1 (patch) | |
tree | b5cecb5cff754360369ff7c2bbb3c23fea10dc38 /src/mongo/s/commands/cluster_collection_mod_cmd.cpp | |
parent | a0f929889db6566a92200ac3f1f430f1d042862a (diff) | |
download | mongo-81238fa87afbe52a9658547f63c79fac126862f1.tar.gz |
SERVER-43712 mongos use ReadWriteConcernDefaults for WC
Diffstat (limited to 'src/mongo/s/commands/cluster_collection_mod_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_collection_mod_cmd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_collection_mod_cmd.cpp b/src/mongo/s/commands/cluster_collection_mod_cmd.cpp index f4091d155c4..247aa8db8aa 100644 --- a/src/mongo/s/commands/cluster_collection_mod_cmd.cpp +++ b/src/mongo/s/commands/cluster_collection_mod_cmd.cpp @@ -73,7 +73,8 @@ public: auto shardResponses = scatterGatherOnlyVersionIfUnsharded( opCtx, nss, - CommandHelpers::filterCommandRequestForPassthrough(cmdObj), + applyReadWriteConcern( + opCtx, this, CommandHelpers::filterCommandRequestForPassthrough(cmdObj)), ReadPreferenceSetting::get(opCtx), Shard::RetryPolicy::kNoRetry); return appendRawResponses( |