[SERVER-73654] Use DatabaseName util Deserialize for LinearizableRead Check Created: 06/Feb/23  Updated: 29/Oct/23  Resolved: 16/Feb/23

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

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

Issue Links:
Related
related to SERVER-73114 Investigate changes needed to ShardMe... Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-02-20
Participants:

 Description   

In the service_entry_point_common we are passing getDatabase as a StringData when we should instead pass a DatabaseName object.

We can use DatabaseNameUtil::deserialize to create the DatabaseName object and then pass it. See example here.



 Comments   
Comment by Githook User [ 16/Feb/23 ]

Author:

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

Message: SERVER-73654 Use DatabaseName util Deserialize for LinearizableRead Check
Branch: master
https://github.com/mongodb/mongo/commit/bf7362388717aa9f1fffbb97d57d60278147258e

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