diff options
author | William Schultz <william.schultz@mongodb.com> | 2019-08-12 16:24:04 -0400 |
---|---|---|
committer | William Schultz <william.schultz@mongodb.com> | 2019-08-12 16:24:04 -0400 |
commit | 20ba91db04c0b7b3d10fe2527b6938b1a14fcaa6 (patch) | |
tree | 22f677d19f2ed7865bc6f1feaa6538831f11a27a /src/mongo/db/exec/stagedebug_cmd.cpp | |
parent | ff468c0b65af2cc978aa549d0ec7ed56553abf5a (diff) | |
download | mongo-20ba91db04c0b7b3d10fe2527b6938b1a14fcaa6.tar.gz |
SERVER-41766 Remove obsolete code for tracking multikey writes inside multi-document transactions
Now that we update the multikey flag within a transaction in a side transaction, the in-memory state about the multikey write will be naturally visible to subsequent writes inside the transaction, so we don't need to keep around any extra structures to enforce this anymore.
Diffstat (limited to 'src/mongo/db/exec/stagedebug_cmd.cpp')
-rw-r--r-- | src/mongo/db/exec/stagedebug_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/stagedebug_cmd.cpp b/src/mongo/db/exec/stagedebug_cmd.cpp index ecca17e1287..3baee889ab1 100644 --- a/src/mongo/db/exec/stagedebug_cmd.cpp +++ b/src/mongo/db/exec/stagedebug_cmd.cpp @@ -292,7 +292,7 @@ public: params.bounds.boundInclusion = IndexBounds::makeBoundInclusionFromBoundBools( nodeArgs["startKeyInclusive"].Bool(), nodeArgs["endKeyInclusive"].Bool()); params.direction = nodeArgs["direction"].numberInt(); - params.shouldDedup = desc->isMultikey(opCtx); + params.shouldDedup = desc->isMultikey(); return new IndexScan(opCtx, params, workingSet, matcher); } else if ("andHash" == nodeName) { |