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

Aggregation stage serverStatus counters incorrectly count update pipelines

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc2, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.4
    • Query 2020-03-23, Query 2020-04-06, Query 2020-04-20

      At present, the counters for pipeline-style updates are increment once per executed update statement , and not once per pipeline as one would expect. Moreover, since some stages like $merge with subpipelines execute update statements, this results in the update stages within said subpipleines being counted multiple times for each update being executed.

      A potential solution is to increment the stage counters when an update command is first received in the command layer.

            Assignee:
            mihai.andrei@mongodb.com Mihai Andrei
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: