[SERVER-28534] Pass collection names around as NamespaceStrings more often Created: 28/Mar/17  Updated: 06/Dec/17  Resolved: 03/Apr/17

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

Type: Improvement Priority: Major - P3
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-27989 Add collection UUIDs to oplog entries Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage 2017-04-17
Participants:

 Description   

Before this pass 'ns' values were often passed around as std::string or char* containing either a dbname (no '.'), a dbname with '.$cmd', or a fully qualified collection name. Instead pass either plain 'dbName' value (as string) or a fully qualified name using the actual NamespaceString type.

No functional change, but makes implementing SERVER-27989 more straightforward.



 Comments   
Comment by Githook User [ 02/Apr/17 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-28534 Pass collection names around as NamespaceStrings more often

Before this patch 'ns' values were often passed around as std::string or
char* containing either a dbname (no '.'), a dbname with '.$cmd', or a fully qualified
collection name. Instead pass either plain 'dbName' value (as string) or a fully
qualified name using the actual NamespaceString type.
Branch: master
https://github.com/mongodb/mongo/commit/576e157c2753b9bc61c36002e323421c09bc62dc

Comment by Githook User [ 02/Apr/17 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-28534 Pass collection names around as NamespaceStrings more often

Before this patch 'ns' values were often passed around as std::string or
char* containing either a dbname (no '.'), a dbname with '.$cmd', or a fully qualified
collection name. Instead pass either plain 'dbName' value (as string) or a fully
qualified name using the actual NamespaceString type.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/356e91a82971cbfab13735078bd1a3d885de3eb3

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