diff options
author | Benety Goh <benety@mongodb.com> | 2019-10-11 19:47:47 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-11 19:47:47 +0000 |
commit | 34719559a9ec4bd494a59d269d227d06b086affb (patch) | |
tree | 0b43bcf548db18fa97ed2dde983835a7efe84d55 /src/mongo/db/commands.cpp | |
parent | cf4c944977a348494d81eeaf7eddb96ef0457876 (diff) | |
download | mongo-34719559a9ec4bd494a59d269d227d06b086affb.tar.gz |
SERVER-43910 BasicCommand::Invocation sets LockManager DebugInfo
Diffstat (limited to 'src/mongo/db/commands.cpp')
-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 a9aba5ba218..e78d3c19773 100644 --- a/src/mongo/db/commands.cpp +++ b/src/mongo/db/commands.cpp @@ -607,6 +607,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) |