[SERVER-64032] Remove intermidiate CachedDatabaseInfo wrapper class Created: 28/Feb/22  Updated: 29/Oct/23  Resolved: 03/Mar/22

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

Type: Improvement Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-03-07
Participants:

 Description   

All the functions of the CatalogCache that returns a database wrap the result inside a CachedDatabaseInfo class. This is really unecessary in fact all the methods of the CachedDatabaseInfo class are simply a passthrough to the underlying TypeDatabase object functions.

The goal of this ticket is to get rid of the intermediate wrapper class and simply convert CachedDatabaseInfo to an alias of DatabaseTypeValueHandle



 Comments   
Comment by Githook User [ 03/Mar/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-64032 Remove intermidiate CachedDatabaseInfo wrapper class
Branch: master
https://github.com/mongodb/mongo/commit/92d3d8026fd0ad28b6416524a146f9a82a67d628

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