summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2017-05-04 18:36:07 -0400
committerGeert Bosch <geert@mongodb.com>2017-05-08 13:51:34 -0400
commit71c05d54c1e0f05e4e99ceda9ee7deb3c6a6b247 (patch)
tree0d12cd7318f03cdf9afe89509b56a55f403c82dd /src/mongo/db/exec
parentbd678a44e7b087753024b27b2a75a465e00c7b89 (diff)
downloadmongo-71c05d54c1e0f05e4e99ceda9ee7deb3c6a6b247.tar.gz
SERVER-29088 Cache uuid in Collection class to fix perf regression
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r--src/mongo/db/exec/update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/update.cpp b/src/mongo/db/exec/update.cpp
index 32011d751a1..9bcc5460290 100644
--- a/src/mongo/db/exec/update.cpp
+++ b/src/mongo/db/exec/update.cpp
@@ -696,7 +696,7 @@ BSONObj UpdateStage::transformAndUpdate(const Snapshotted<BSONObj>& oldObj, Reco
BSONObj idQuery = driver->makeOplogEntryQuery(newObj, request->isMulti());
OplogUpdateEntryArgs args;
args.nss = _collection->ns();
- args.uuid = _collection->uuid(getOpCtx());
+ args.uuid = _collection->uuid();
args.update = logObj;
args.criteria = idQuery;
args.fromMigrate = request->isFromMigration();