Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49954

log line for aggregation with $merge should include write operations

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Query Execution

      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.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: