From b64b512409dc84bd093d7266d5fc201177f85915 Mon Sep 17 00:00:00 2001 From: Matthew Russotto Date: Mon, 2 Apr 2018 16:10:23 -0400 Subject: SERVER-34109 Make sure we accept 'stmtId' for all transaction-supported commands. --- src/mongo/db/commands.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mongo/db/commands.cpp') 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); -- cgit v1.2.1