[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: |
|
||||||||||||
| 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: |