diff options
author | Benety Goh <benety@mongodb.com> | 2020-01-29 10:45:34 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2020-01-29 10:45:34 -0500 |
commit | f718c0e820777c02af3577905876d63936a25d55 (patch) | |
tree | d0325b55f6304ac98fd4c13097d061b0a23d7da4 | |
parent | 298e787a6587a708d147c5a1ebec5ca56c571b24 (diff) | |
download | mongo-f718c0e820777c02af3577905876d63936a25d55.tar.gz |
Revert "SERVER-43910 BasicCommand::Invocation sets LockManager DebugInfo"
This reverts commit 41981ad8d67b3fc95da21506751cc5d284e724e1.
-rw-r--r-- | src/mongo/db/commands.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/commands.cpp b/src/mongo/db/commands.cpp index 7a66feb5793..b449af1b84a 100644 --- a/src/mongo/db/commands.cpp +++ b/src/mongo/db/commands.cpp @@ -502,7 +502,6 @@ public: private: void run(OperationContext* opCtx, CommandReplyBuilder* result) override { try { - opCtx->lockState()->setDebugInfo(redact(_request->body)); BSONObjBuilder bob = result->getBodyBuilder(); bool ok = _command->run(opCtx, _dbName, _request->body, bob); CommandHelpers::appendSimpleCommandStatus(bob, ok); |