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

Change mongo::createCollection to take in DatabaseName

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-08-22

      Currently, the mongo::createCollection function that takes in a db name rather than nss takes in the db name as a string and then parses the full namespace. This function should take in a DatabaseName object instead. Note that this uses CommandHelpers::parseNsCollectionRequired to construct the NamespaceString - that function must be changed/removed first.

            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: