summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec
diff options
context:
space:
mode:
authorBen Caimano <ben.caimano@10gen.com>2019-08-15 17:34:38 -0400
committerBen Caimano <ben.caimano@10gen.com>2019-08-20 16:24:11 -0400
commit42d48eefff975e92e1d31363ecd26feefa422eb1 (patch)
tree9d2827dd31dd955c2b6ff2e7a1ebbfbc5c2ab3b4 /src/mongo/db/exec
parent34c846207cd732e90524487ce0d050d834abc9f7 (diff)
downloadmongo-42d48eefff975e92e1d31363ecd26feefa422eb1.tar.gz
SERVER-42837 Allow waitInFindBeforeBatch FailPoint to take data.nss parameter
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r--src/mongo/db/exec/multi_plan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/multi_plan.cpp b/src/mongo/db/exec/multi_plan.cpp
index dc56d8d9b51..929d22f756d 100644
--- a/src/mongo/db/exec/multi_plan.cpp
+++ b/src/mongo/db/exec/multi_plan.cpp
@@ -282,7 +282,7 @@ Status MultiPlanStage::pickBestPlan(PlanYieldPolicy* yieldPolicy) {
size_t runnerUpIdx = ranking->candidateOrder[1];
LOG(1) << "Winning plan tied with runner-up. Not caching."
- << " ns: " << collection()->ns() << " " << redact(_query->toStringShort())
+ << " query: " << redact(_query->toStringShort())
<< " winner score: " << ranking->scores[0]
<< " winner summary: " << Explain::getPlanSummary(_candidates[winnerIdx].root)
<< " runner-up score: " << ranking->scores[1] << " runner-up summary: "
@@ -296,7 +296,7 @@ Status MultiPlanStage::pickBestPlan(PlanYieldPolicy* yieldPolicy) {
size_t winnerIdx = ranking->candidateOrder[0];
LOG(1) << "Winning plan had zero results. Not caching."
- << " ns: " << collection()->ns() << " " << redact(_query->toStringShort())
+ << " query: " << redact(_query->toStringShort())
<< " winner score: " << ranking->scores[0]
<< " winner summary: " << Explain::getPlanSummary(_candidates[winnerIdx].root);
}