summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-11-09 04:47:48 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-11-11 02:20:22 -0500
commitefea76aea1b32b56503a1ecb954f8e14b8415eae (patch)
treefba41ea476b4c423ea09a40d6026d40adf259362 /src/mongo/db/commands.cpp
parent77fbada9b93dfa474d41216baa19f556e75bc8ca (diff)
downloadmongo-efea76aea1b32b56503a1ecb954f8e14b8415eae.tar.gz
SERVER-31873 Make mongos retry findAndModify with txnNumber
Diffstat (limited to 'src/mongo/db/commands.cpp')
-rw-r--r--src/mongo/db/commands.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/commands.cpp b/src/mongo/db/commands.cpp
index a32f3060ec2..6c747881e2c 100644
--- a/src/mongo/db/commands.cpp
+++ b/src/mongo/db/commands.cpp
@@ -438,8 +438,9 @@ BSONObj Command::filterCommandRequestForPassthrough(const BSONObj& cmdObj) {
name == "$queryOptions" || //
name == "maxTimeMS" || //
name == "readConcern" || //
- name == "writeConcern" ||
- name == "lsid" || name == "txnNumber") {
+ name == "writeConcern" || //
+ name == "lsid" || //
+ name == "txnNumber") {
// This is the whitelist of generic arguments that commands can be trusted to blindly
// forward to the shards.
bob.append(elem);