diff options
author | Adam Midvidy <amidvidy@gmail.com> | 2015-10-22 18:09:25 -0400 |
---|---|---|
committer | Adam Midvidy <amidvidy@gmail.com> | 2015-10-30 15:49:29 -0400 |
commit | 22e46bcc813a09d62f45f0779188930ee8d31b9a (patch) | |
tree | 0f8afdc65ab8b8eb5831cacf2d2349d731e30c81 /src/mongo/db/instance.cpp | |
parent | 791c412874ce87d9cc1eac75edce8116a9d40640 (diff) | |
download | mongo-22e46bcc813a09d62f45f0779188930ee8d31b9a.tar.gz |
SERVER-20609 optimize OpDebug and CurOp construction
- replace assignment with NSDMI
- remove the giant ThreadSafeString from CurOp
- remove unnecessary reset() call to opDebug in assembleResponse
Diffstat (limited to 'src/mongo/db/instance.cpp')
-rw-r--r-- | src/mongo/db/instance.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/instance.cpp b/src/mongo/db/instance.cpp index e752ae92fa6..bc6481410f1 100644 --- a/src/mongo/db/instance.cpp +++ b/src/mongo/db/instance.cpp @@ -615,7 +615,6 @@ void assembleResponse(OperationContext* txn, } recordCurOpMetrics(txn); - debug.reset(); } void receivedKillCursors(OperationContext* txn, Message& m) { |