Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-74897

Change IDL defined commands to call NamespaceStringUtil

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-04-17, Server Serverless 2023-05-01
    • 3

      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.

            Assignee:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: