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

$changeStream pipelines should support non-simple collations

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Epic Link:
    • Sprint:
      Repl 2017-10-23, Repl 2017-11-13

      Description

      Currently $changeStream pipelines error when the pipeline collation is non-simple. $changeStream pipelines should support non-simple collations. Comparisons within the $changeStream stage itself should use binary comparison (e.g. comparing namespace string, shard key, _id (comparing _id can also use the collection default collation)), but subsequent stages in the pipeline should use the pipeline collation as usual. This will allow users to do collation-aware comparisons in $match stages in a $changeStream pipeline, which is essential for users using collation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              charlie.swanson Charlie Swanson
              Reporter:
              tess.avitabile Tess Avitabile
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: