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

An empty user-defined collation is ignored for aggregate commands

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None

      Description

      When parsing an aggregation request, the user supplied collation is parsed and stored on the AggregationRequest. However there is an assumption later in execution that an empty BSONObj for the collation implies that it was never set. For instance, here when resolving the collator to use for the operation. In this case, we'll end up incorrectly using the collection-default collation.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: