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

Let AggregationRequestHelper::parseFromBSON() return an AggregateCommand

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Query 2021-01-25, Query Optimization 2021-02-22
    • 17

      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.

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

              Created:
              Updated:
              Resolved: