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

Build idl infrastructure to pass context into nss serializers

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-02-06, Server Serverless 2023-02-20, Server Serverless 2023-03-06
    • 5

      Currently, we use NamespaceStringUtil::deserialize to parse NamespaceStrings read both from command requests and from on-disk state. These should actually follow separate rules, so we should create separate functions. For now, we can leave the behavior as the same (to be changed in SERVER-70740), but this ticket should focus on creating the separate functions, and ensuring we change out existing calls to deserialize to call the correct function. Note that we can only specify one deserialize function for the namespace_string type defined in basic_types.idl, so we may need to have some sort of function that takes in info about whether we're parsing a command type or not.

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

              Created:
              Updated:
              Resolved: