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

log line for aggregation with $merge should include write operations

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Aggregation Framework
    • Query Execution

    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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: