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

$changeStream pipelines should inherit the collection default collation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc0
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Epic Link:
    • Sprint:
      Query 2017-10-23

      Description

      $changeStream pipelines currently use the collation specified on the operation, and error if the collation is non-simple. $changeStream pipelines should instead resolve the collation by using the operation collation if specified, and otherwise inheriting the collection default collation. This will keep their behavior in accordance with other aggregation pipelines, and ensure that there is no behavior change when we start supporting collation on $changeStream pipelines. For now, they should continue to error if the resolved collation is non-simple. Note that resolving the collation requires taking a collection lock (which $changeStream pipelines do not currently do).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: