[SERVER-63058] Change StorageEngineImpl::listDatabases() to return a list of TenantDatabaseName instead of string Created: 27/Jan/22  Updated: 29/Oct/23  Resolved: 31/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Task Priority: Major - P3
Reporter: Sophia Tan Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-61987 Change DatabaseHolder's map to be key... Closed
Related
related to SERVER-63354 fix macos dyld limit Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-02-07
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 28/Jan/22 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-63058 Change StorageEngineImpl::listDatabases() to return a list of TenantDatabaseName instead of string
Branch: master
https://github.com/mongodb/mongo/commit/1b18cd9b5dcb352c6fdd6b15d4bd0a40c0da35c3

Generated at Thu Feb 08 05:56:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.