[SERVER-85476] Simplify DatabaseNameUtil API Created: 19/Jan/24  Updated: 24/Jan/24  Resolved: 24/Jan/24

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

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

Issue Links:
Related
related to SERVER-83797 Introduce DatabaseNameUtil (de)serial... In Code Review
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2024-01-22, Service Arch 2024-02-05
Participants:
Story Points: 2

 Description   

As part of refactoring the DatabaseNameUtil API to use a ValidatedTenancyScope we should first simplify the API by removing dead code and refactoring some logic.

The ValidatedTenancyScope contains only two pieces of information right now relevant to the (de)serialziation of a DatabaseName. The SerializationContext has 5.



 Comments   
Comment by Githook User [ 24/Jan/24 ]

Author:

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

Message: SERVER-85476 Simplify DatabaseNameUtil API

GitOrigin-RevId: 96315964f5d0c0355a2910db42d6c4a609d75f2c
Branch: master
https://github.com/mongodb/mongo/commit/545d7afba6c57355d6faed4510fef5f626362f2e

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