[SERVER-61260] Support collations on clustered collections Created: 04/Nov/21  Updated: 29/Oct/23  Resolved: 19/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Daniel Gomez Ferro
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-62460 Support collations for clustered coll... Closed
Problem/Incident
causes SERVER-62877 Coverity analysis defect 121363: Unin... Closed
causes SERVER-72224 Clustered collections with non-"simpl... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24
Participants:

 Description   

Clustered collections do not respect collations passed to the create command.

db.createCollection('c', {clusteredIndex: {key: {_id: 1}, unique: true}, collation: {locale: "en", strength: 2}})
db.c.insert({_id: "FOO"})
db.c.find({_id: "foo"}) // Returns nothing, but should perform case-insensitive match

As scoped, we should instead return an error when created with a collation.



 Comments   
Comment by Githook User [ 18/Jan/22 ]

Author:

{'name': 'Daniel Gómez Ferro', 'email': 'daniel.gomezferro@mongodb.com', 'username': 'dgomezferro'}

Message: SERVER-61260 Support collations on clustered collections
Branch: master
https://github.com/mongodb/mongo/commit/754ea766abe5682738764d90b0d0c1d49600774a

Generated at Thu Feb 08 05:51:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.