[SERVER-27300] Disallow indexing of BSONType::Symbol with a non-simple collation Created: 06/Dec/16  Updated: 05/Apr/17  Resolved: 08/Dec/16

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.4.1, 3.5.1

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: David Storch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-27195 Symbol BSON type compares incorrectly... Backlog
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Query 2016-12-12
Participants:

 Description   

The bad interaction of collation and Symbol described by SERVER-27195 can cause indexes to be in an inconsistent state. Until we have a complete fix in place, we should prevent insertion of Symbol data which would be indexed with a non-simple collation. This additional restriction will apply only to new v:2 indexes with a non-simple collation.



 Comments   
Comment by Githook User [ 08/Dec/16 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-27300 fail indexing of the Symbol type when the collation is non-simple

(cherry picked from commit bc1e45dc19c488eb27dd93aaff33ad0145e420ab)
Branch: v3.4
https://github.com/mongodb/mongo/commit/16a31a6b8f49ac0d6b4c489f9968c52a8b2a3c63

Comment by Githook User [ 08/Dec/16 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-27300 delete dead function shouldUseCollationIndexKey()

(cherry picked from commit d5024d5e0ca6cbb883a4ec65c5c76614bbdbbd53)
Branch: v3.4
https://github.com/mongodb/mongo/commit/516bd8ab5eb1f2f0a377d5b4cb3efc78a259018d

Comment by Githook User [ 08/Dec/16 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-27300 fail indexing of the Symbol type when the collation is non-simple
Branch: master
https://github.com/mongodb/mongo/commit/bc1e45dc19c488eb27dd93aaff33ad0145e420ab

Comment by Githook User [ 07/Dec/16 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-27300 delete dead function shouldUseCollationIndexKey()
Branch: master
https://github.com/mongodb/mongo/commit/d5024d5e0ca6cbb883a4ec65c5c76614bbdbbd53

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