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

Change the explain format for sharded aggregations to accomodate $exchange

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Epic Link:
    • Sprint:
      Query 2018-09-10, Query 2018-09-24, Query 2018-10-08

      Description

      In a world where $exchange could be inserted theoretically anywhere in a sharded aggregation, it won't make sense to always present the "splitPipeline" in aggregation explain as a "shardsPart" and "mergerPart".

      One potential format is to break up the pipeline into "bubbles", where each one is separated by $exchange. At the exchange points, we could expose detail on which producers are feeding each consumer, to give a sense of how the routing is occurring.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: