[SERVER-27307] DocumentSourceCursor should store namespace as NamespaceString Created: 06/Dec/16  Updated: 05/Apr/17  Resolved: 12/Dec/16

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.4.2, 3.5.1

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Query 2017-01-23
Participants:
Linked BF Score: 0

 Description   

DocumentSourceCursor takes a std::string at construction and copies to a std::string member. This string is then used to create a NamespaceString object on each serialize() and loadBatch() call. Creating the NamespaceString at construction (in place of the std::string) will allow for reuse and improve performance.



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

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-27307 Store DocumentSourceCursor namespace as NamespaceString

(cherry picked from commit 5f353871bad67ea8093a73df725ffe094b5ac7b8)
Branch: v3.4
https://github.com/mongodb/mongo/commit/14bd550271b2e6a77ea1c3dba513868e5065d536

Comment by Githook User [ 12/Dec/16 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-27307 Store DocumentSourceCursor namespace as NamespaceString
Branch: master
https://github.com/mongodb/mongo/commit/5f353871bad67ea8093a73df725ffe094b5ac7b8

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