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

Allow $facet to merge on mongoS if all of its pipelines are eligible

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.1
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • v3.6
    • Query 2017-12-18

      Since SERVER-30871, we permit blocking stages to run on mongoS if allowDiskUse is false. The $facet stage was excluded from the list of eligible blocking stages because it requires the injection of a MongodInterface, even when none of its pipelines actually use it; this caused complications in the event that the $facet was run on mongoS.

      Following SERVER-29609, however, we now have an equivalent MongosProcessInterface for cases where a pipeline is executing on mongoS, which obviates the issues mentioned above. We should allow $facet to run on mongoS again.

            Assignee:
            bernard.gorman@mongodb.com Bernard Gorman
            Reporter:
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: