diff options
author | James Wahlin <james.wahlin@mongodb.com> | 2019-10-31 18:01:55 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-31 18:01:55 +0000 |
commit | 996e6060811aced89dfef78b0d695d208690f3d6 (patch) | |
tree | e216de551fe419ea243858d15a236546f546fdb0 /src/mongo/db/pipeline/document_source_cursor.cpp | |
parent | d8b18ea6033234870b09a7051cde98b41482a0ef (diff) | |
download | mongo-996e6060811aced89dfef78b0d695d208690f3d6.tar.gz |
SERVER-44013 MR Agg: Report plan stats and summary for currentOp/profiler/slow query logging
Diffstat (limited to 'src/mongo/db/pipeline/document_source_cursor.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_cursor.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/pipeline/document_source_cursor.cpp b/src/mongo/db/pipeline/document_source_cursor.cpp index 6ad22cce49d..c2f9c9d1a8d 100644 --- a/src/mongo/db/pipeline/document_source_cursor.cpp +++ b/src/mongo/db/pipeline/document_source_cursor.cpp @@ -161,14 +161,7 @@ void DocumentSourceCursor::_updateOplogTimestamp() { void DocumentSourceCursor::recordPlanSummaryStats() { invariant(_exec); - // Aggregation handles in-memory sort outside of the query sub-system. Given that we need to - // preserve the existing value of hasSortStage rather than overwrite with the underlying - // PlanExecutor's value. - auto hasSortStage = _planSummaryStats.hasSortStage; - Explain::getSummaryStats(*_exec, &_planSummaryStats); - - _planSummaryStats.hasSortStage = hasSortStage; } Value DocumentSourceCursor::serialize(boost::optional<ExplainOptions::Verbosity> verbosity) const { |