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

Change StorageEngineImpl::listDatabases() to return a list of TenantDatabaseName instead of string

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-02-07

      Here is the current definition of the API :
      std::vector<std::string> StorageEngineImpl::listDatabases() const;
       
      In this ticket, it will be changed to:
      std::vector<TenantDatabaseName> StorageEngineImpl::listDatabases() const;
      All the callers' code should also be changed to match the new API.

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

              Created:
              Updated:
              Resolved: