[SERVER-31442] $changeStream pipelines should inherit the collection default collation Created: 06/Oct/17  Updated: 30/Oct/23  Resolved: 10/Oct/17

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Bernard Gorman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-31443 $changeStream pipelines should suppor... Closed
is related to SERVER-31447 Ensure change stream update lookup us... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2017-10-23
Participants:

 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).



 Comments   
Comment by Githook User [ 10/Oct/17 ]

Author:

{'email': 'bernard.gorman@gmail.com', 'name': 'Bernard Gorman', 'username': 'gormanb'}

Message: SERVER-31442 $changeStream pipelines should inherit the collection default collation
Branch: master
https://github.com/mongodb/mongo/commit/6ad292704df43031ee94f696e709bf6285376ed4

Generated at Thu Feb 08 04:27:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.