diff options
-rw-r--r-- | src/mongo/db/query/find.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mongo/db/query/find.cpp b/src/mongo/db/query/find.cpp index 808fa941319..ad117a32fb7 100644 --- a/src/mongo/db/query/find.cpp +++ b/src/mongo/db/query/find.cpp @@ -760,11 +760,10 @@ bool runQuery(OperationContext* opCtx, // Caller expects exceptions thrown in certain cases. if (PlanExecutor::FAILURE == state) { LOGV2_ERROR(20919, - "Plan executor error during find: {PlanExecutor_statestr_state}, stats: " - "{Explain_getWinningPlanStats_exec_get}", - "PlanExecutor_statestr_state"_attr = PlanExecutor::statestr(state), - "Explain_getWinningPlanStats_exec_get"_attr = - redact(Explain::getWinningPlanStats(exec.get()))); + "Plan executor error during find: {executorState}, stats: {stats}", + "Plan executor error during find", + "executorState"_attr = PlanExecutor::statestr(state), + "stats"_attr = redact(Explain::getWinningPlanStats(exec.get()))); uassertStatusOKWithContext(WorkingSetCommon::getMemberObjectStatus(doc), "Executor error during OP_QUERY find"); MONGO_UNREACHABLE; |