[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: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| 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: |