[SERVER-18137] Use NamespaceString instead of std::string for fully-qualified namespaces Created: 20/Apr/15  Updated: 01/Feb/18  Resolved: 01/Feb/18

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

Type: Task Priority: Minor - P4
Reporter: Kaloian Manassiev Assignee: Kevin Pulo
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-11-13, Sharding 2017-12-04, Sharding 2018-01-01, Sharding 2018-01-15, Sharding 2017-12-18, Sharding 2018-01-29, Sharding 2018-02-12
Participants:

 Description   

Currently, pretty much everywhere throughout the sharding code we are using std::string for fully-qualified collection names, except in the commands where we have been more strict.

This ticket is so we replace all those usages with NamespaceString.



 Comments   
Comment by Githook User [ 01/Feb/18 ]

Author:

{'email': 'daniel.gottlieb@mongodb.com', 'name': 'Daniel Gottlieb', 'username': 'dgottlieb'}

Message: SERVER-18137: Fix lint
Branch: master
https://github.com/mongodb/mongo/commit/b497495fd1d18a3f342a762de1579e0472c033d6

Comment by Githook User [ 01/Feb/18 ]

Author:

{'email': 'kevin.pulo@mongodb.com', 'name': 'Kevin Pulo', 'username': 'devkev'}

Message: SERVER-18137 Use NamespaceString for fully-qualified ns in sharding
Branch: master
https://github.com/mongodb/mongo/commit/6476d7205b2bf4a8d02bf877bb84f1290878bb04

Comment by Githook User [ 12/May/15 ]

Author:

{u'username': u'alabid', u'name': u'Daniel Alabi', u'email': u'alabidan@gmail.com'}

Message: SERVER-18137 CollectionType should store fully-qualified namespace as NamespaceString type
Branch: master
https://github.com/mongodb/mongo/commit/6563efa384750d99faa7586ed71f173fbc010f81

Generated at Thu Feb 08 03:46:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.