[SERVER-49954] log line for aggregation with $merge should include write operations Created: 28/Jul/20  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Asya Kamsky Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-43194 provide a way to get result/outcome o... Backlog
Assigned Teams:
Query Execution
Participants:

 Description   

When aggregation with $out logs, it shows: "keysExamined":200,"docsExamined":200,"ninserted":200

But $merge aggregations only show read stats, nothing about inserted or updated documents:
"keysExamined":0,"docsExamined":80937,"cursorExhausted":true,"numYields":100,"nreturned":0

It should absolutely include "ninserted" and/or "nupdated" with that.


Generated at Thu Feb 08 05:21:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.