Block $group stage from being pushed down to SBE when needsMerge is requested

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QE 2021-10-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The needsMerge behavior at mongod-side has not been yet implemented. Until it's implemented, we should block $group stage from being pushed down to SBE when needsMerge is requested from the mongos. Otherwise, it may lead to incorrect results for sharded $group, especially for accumulators that need special behavior for finalization steps when needsMerge is requested.

      This is just an interim fix until we implement needsMerge behavior, which is done by SERVER-59070.

            Assignee:
            Yoon Soo Kim (Inactive)
            Reporter:
            Yoon Soo Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: