diff options
author | Benety Goh <benety@mongodb.com> | 2020-01-08 23:18:45 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2020-01-08 23:18:45 +0000 |
commit | e2afa9a595a04e4828097c290c2c97beb5a22620 (patch) | |
tree | facfbff0e0c355ab199ff7748775c030334fb247 | |
parent | 4c9f3c7b743fc02ee45151eca3e2707d3db32762 (diff) | |
download | mongo-e2afa9a595a04e4828097c290c2c97beb5a22620.tar.gz |
SERVER-43910 BasicCommand::Invocation sets LockManager DebugInfo
(cherry picked from commit 34719559a9ec4bd494a59d269d227d06b086affb)
-rw-r--r-- | src/mongo/db/commands.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands.cpp b/src/mongo/db/commands.cpp index 63e51b1197b..89ae334d63b 100644 --- a/src/mongo/db/commands.cpp +++ b/src/mongo/db/commands.cpp @@ -590,6 +590,7 @@ public: private: void run(OperationContext* opCtx, rpc::ReplyBuilderInterface* result) override { + opCtx->lockState()->setDebugInfo(redact(_request->body)); BSONObjBuilder bob = result->getBodyBuilder(); bool ok = _command->run(opCtx, _dbName, _request->body, bob); if (!ok) |