[SERVER-74897] Change IDL defined commands to call NamespaceStringUtil Created: 15/Mar/23  Updated: 29/Oct/23  Resolved: 19/Apr/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: Hugh Tong (Inactive)
Resolution: Fixed Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File changeNssConstruction.patch    
Issue Links:
Depends
is depended on by SERVER-74284 Fix existing tests for command serial... Closed
is depended on by SERVER-76084 Create targeted tests for command de/... Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-04-17, Server Serverless 2023-05-01
Participants:
Story Points: 3

 Description   

IDL defined commands currently call either IDLParserContext::parseNSCollectionRequired or IDLParserContext::parseNsOrUUID to construct the namespace for the command. IDLParserContext is meant to be lower in the dependency graph than NamespaceStringUtil, and so it cannot link NamespaceStringUtil's lib. There's no specific need to construct the namespaces through IDLParseContext, so in this ticket, we can change struct_types.py to call NamespaceStringUtil::parse... directly instead.



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

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-74897 Change IDL defined commands to call NamespaceStringUtil
Branch: master
https://github.com/mongodb/mongo/commit/8585d684d3c33a49f7648b0b3e6f0753199de0f7

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