[SERVER-79989] Change APIs to take in DatabaseName instead of string db across the non sharding/auth codebase Created: 14/Aug/23  Updated: 29/Oct/23  Resolved: 12/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

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

Issue Links:
Depends
depends on SERVER-73658 RemoteCommandRequest to use DatabaseName Closed
depends on SERVER-80105 Make RSLocalClient::runCommandOnce ta... Closed
depends on SERVER-80108 Make ColumnStoreSorter take in Databa... Closed
depends on SERVER-80109 Make WhereMatchExpression take in Dat... Closed
depends on SERVER-80125 Remove the "OpMsgRequest::fromDBAndBo... Closed
depends on SERVER-80126 Make TenantDatabaseCloner use Databas... Closed
depends on SERVER-80127 Make ClonerImpl use DatabaseName obj Closed
depends on SERVER-80128 Make ReplicationCoordinator::runCmdOn... Closed
depends on SERVER-80129 Make DurableCatalog::getFilesystemPat... Closed
Related
is related to SERVER-68423 Remove CommandHelpers::parseNsFromCom... Closed
is related to SERVER-80113 User UserName in AuthenticateEvent Closed
is related to SERVER-80466 Convert ChangeLogType to be IDL Gener... Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-09-04, Server Serverless 2023-09-18
Participants:

 Description   

There are many APIs in code base still take in string db (std::string or StringData). We need to change those APIs to take in DatabaseName to ensure the developers always pass in the correct db information.



 Comments   
Comment by Githook User [ 12/Sep/23 ]

Author:

{'name': 'Mathis Bessa', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-79989 Change APIs to take in DatabaseName instead of string db across the non sharding/auth codebase
Branch: master
https://github.com/mongodb/mongo/commit/a93ed58b55fdcce39361f6ac353f2203dda0806a

Generated at Thu Feb 08 06:42:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.