[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: |