[SERVER-74304] Extend collation testing to include explicit simple collation Created: 23/Feb/23  Updated: 29/Oct/23  Resolved: 24/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Charlie Swanson Assignee: Alyssa Clark
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-73139 Add more testing for time-series dele... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

I realized after we approved and merged SERVER-73139 that one case which has caused bugs before is when the user has a non-simple default collation on the collection, but wants to override that with the simple collation. The "simple" collation is the default without any collation specified, so it just uses the default BSON/UTF-8 comparisons. This has caused bugs before because it is represented as a nullptr collation.

See for example SERVER-72224, SERVER-24433, and SERVER-71139.

Let's extend our testing to include this case. cc alyssa.wagenmaker@mongodb.com and fausto.leyva@mongodb.com who were involved in the review of SERVER-73139.



 Comments   
Comment by Githook User [ 24/Feb/23 ]

Author:

{'name': 'Alyssa Wagenmaker', 'email': 'alyssa.wagenmaker@mongodb.com', 'username': 'awagenmaker'}

Message: SERVER-74304 Add timeseries delete simple collation tests
Branch: master
https://github.com/mongodb/mongo/commit/c1a2cb2a0e9bc336c0a3912915fc53ea1f6633aa

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