[SERVER-23760] Add std::unique_ptr<CollatorInterface> to IndexCatalogEntry Created: 15/Apr/16  Updated: 16/May/16  Resolved: 19/Apr/16

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

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: Tess Avitabile (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-23761 Prevent users from downgrading 3.4=>3... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 13 (04/22/16)
Participants:

 Description   
  • IndexCatalog::_isSpecOk() should fully validate the "collation" field from the index spec.
  • IndexCatalogEntry should get a new std::unique_ptr<CollatorInterface> private member.
  • IndexCatalogEntry::init() should initialize this private member from the index spec.

Versions of the server prior to 3.4 should not be able to start up if any collection has an index with a non-default collation set. This work will be implemented in SERVER-23761.



 Comments   
Comment by Githook User [ 19/Apr/16 ]

Author:

{u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}

Message: SERVER-23760 Add std::unique_ptr<CollatorInterface> to IndexCatalogEntry
Branch: master
https://github.com/mongodb/mongo/commit/66882c0878d6264db3499bd950114b6248e3b60b

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