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

Let AggregationRequestHelper::parseFromBSON() return an AggregateCommand

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • None
    • Fully Compatible
    • Query 2021-01-25, Query Optimization 2021-02-22
    • 17

    Description

      AggregationRequestHelper::parseFromBSON() is used to create AggregateCommand. Currently it returns an AggregateCommand with Status. Since all the callers just uassert() it, it can just return an AggregateCommand and throw any error within the function.

      Attachments

        Activity

          People

            samuel.mercier@mongodb.com Sam Mercier
            ruoxin.xu@mongodb.com Ruoxin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: