[SERVER-74488] Make NamespaceString::toString() private Created: 01/Mar/23  Updated: 29/Oct/23  Resolved: 20/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-77796 ASSERT problem finding stringifyForAs... Closed
depends on SERVER-73115 Always include tenant in collection n... Closed
depends on SERVER-74486 Always include tenant in collection n... Closed
depends on SERVER-77729 Make NamespaceString override the str... Closed
depends on SERVER-77773 Make DebugInfoSBE::secondaryStats use... Closed
depends on SERVER-77808 Change PrimaryOnlyServiceRegistry::_s... Closed
depends on SERVER-77727 Remove the unused toString and toBSON... Closed
Related
is related to SERVER-77329 CommandHelpers::resourcePatternForNam... Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-05-29, Server Serverless 2023-06-12, Server Serverless 2023-06-26
Participants:
Story Points: 5

 Description   

In order to ensure NamespaceString is always serialized correctly, we will create context specific toString methods on NamespaceString and NamespaceStringUtil, and remove any default serialization behavior.



 Comments   
Comment by Githook User [ 16/Jun/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-74488 Make NamespaceString::toString() private
Branch: master
https://github.com/mongodb/mongo/commit/63f70e4b1e6482d55d3f8c02e287ea11d7cb6672

Comment by Githook User [ 31/May/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-74488 Make NamespaceString::toString() private - remove ConstantProxy::toString()
Branch: master
https://github.com/mongodb/mongo/commit/1a89cd7349d1dcaea4c8816a920d35488936af67

Comment by Githook User [ 26/May/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-74488 Make NamespaceString::toString() private - fail point
Branch: master
https://github.com/mongodb/mongo/commit/36aa7c9ea7117afc95e2bfd25b591ad2edb1ce58

Comment by Githook User [ 25/May/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-74488 Make NamespaceString::toString() private - unit test codes part 2
Branch: master
https://github.com/mongodb/mongo/commit/98f7b34ccc973b4cc36b27adb1d21d18f08d30b8

Comment by Githook User [ 22/May/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-74488 Make NamespaceString::toString() private - shard code
Branch: master
https://github.com/mongodb/mongo/commit/d90cf8c561888e0c497aa444b7f1e9cd2497497f

Comment by Githook User [ 22/May/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-74488 Make NamespaceString::toString() private - unit test codes
Branch: master
https://github.com/mongodb/mongo/commit/8de0aac5bb1339f19b83b1e5683788fee665dc51

Generated at Thu Feb 08 06:27:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.