summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2020-01-29 10:45:34 -0500
committerBenety Goh <benety@mongodb.com>2020-01-29 10:45:34 -0500
commitf718c0e820777c02af3577905876d63936a25d55 (patch)
treed0325b55f6304ac98fd4c13097d061b0a23d7da4
parent298e787a6587a708d147c5a1ebec5ca56c571b24 (diff)
downloadmongo-f718c0e820777c02af3577905876d63936a25d55.tar.gz
Revert "SERVER-43910 BasicCommand::Invocation sets LockManager DebugInfo"
This reverts commit 41981ad8d67b3fc95da21506751cc5d284e724e1.
-rw-r--r--src/mongo/db/commands.cpp1
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);