summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands.cpp')
-rw-r--r--src/mongo/db/commands.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/commands.cpp b/src/mongo/db/commands.cpp
index 6ed410ec0bd..6ebd7f38a34 100644
--- a/src/mongo/db/commands.cpp
+++ b/src/mongo/db/commands.cpp
@@ -291,7 +291,8 @@ void CommandHelpers::filterCommandRequestForPassthrough(BSONObjIterator* cmdIter
name == "readConcern" || //
name == "writeConcern" || //
name == "lsid" || //
- name == "txnNumber") {
+ name == "txnNumber" || //
+ name == "stmtId") {
// This is the whitelist of generic arguments that commands can be trusted to blindly
// forward to the shards.
requestBuilder->append(elem);