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

Change DBClient functions to use DatabaseName and NamespaceString objects

    • 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-01-23, Server Serverless 2023-02-06, Server Serverless 2023-02-20, Server Serverless 2023-03-06
    • 8

      Most functions currently take in strings, but should take a DatabaseName or NamespaceString object to avoid dropping the tenantId. We'll likely need to make sure the call sites end up constructing the OpMsgRequests using OpMsgRequestBuilder::create rather than OpMsgRequest::fromDbAndBody so that the tenantId will be attached as the $tenant field if needed.

            Assignee:
            sophia.tan@mongodb.com Sophia Tan
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: