[SERVER-78844] Create a function to parse the DatabaseName object from OpMsgRequest Created: 10/Jul/23  Updated: 29/Oct/23  Resolved: 21/Jul/23

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

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

Issue Links:
Gantt Dependency
has to be done before SERVER-78263 Serialize db name in the listDatabase... Closed
Related
related to SERVER-65456 Make NamespaceString::db_deprecated()... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-07-24
Participants:
Story Points: 1

 Description   

Today, we have OpMsgRequest::getDatabasse() which return db string from the "$db".

We need a new function to return DatabaseName object based on the "$db" and other additional fields which contains the tenant information( eg, "expectPrefix"  and the validate tenant scope).



 Comments   
Comment by Githook User [ 19/Jul/23 ]

Author:

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

Message: SERVER-78844 use OpMsgRequest::getDbName() in commands
Branch: master
https://github.com/mongodb/mongo/commit/2b715f7ded836902e37262af45adba28a8183dc6

Comment by Githook User [ 15/Jul/23 ]

Author:

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

Message: SERVER-78844 Create new function OpMsgRequest::getDbName()
Branch: master
https://github.com/mongodb/mongo/commit/b74ec91fd98af59f89614461cd670067ccf48e79

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