Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
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
- is related to
-
SERVER-31442 $changeStream pipelines should inherit the collection default collation
-
- Closed
-
-
SERVER-31447 Ensure change stream update lookup uses the correct collation
-
- Closed
-