[SERVER-38719] unshim DatabaseHolder Created: 20/Dec/18  Updated: 29/Oct/23  Resolved: 21/Dec/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.7

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

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-12-31
Participants:

 Description   

Code cleanup. Removes the remaining shims from mongo/db/catalog.



 Comments   
Comment by Githook User [ 21/Dec/18 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: SERVER-38719 unshim and remove DatabaseHolder::getDatabaseHolder()

This adds the requirement for a DatabaseHolder instance to be registered
with the global service context at startup.
Branch: master
https://github.com/mongodb/mongo/commit/6acd02f6395669be9a470bdc4b2689c5e889b050

Comment by Githook User [ 21/Dec/18 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: SERVER-38719 rename DatabaseHolder::get() to getDb()

Repurpose DatabaseHolder::get() for accessing singleton.
Deprecate DatabaseHolder::getDatabaseHolder().
Branch: master
https://github.com/mongodb/mongo/commit/4270e87c62a2c7ea365b20bb37ede7e3888ad0ed

Comment by Githook User [ 21/Dec/18 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: SERVER-38719 unshim DatabaseHolder

This does not include the static function DatabaseHolder::getDatabaseHolder().
Branch: master
https://github.com/mongodb/mongo/commit/cf9acc9439eb02c9fbdf757b382611cc343e5ac6

Generated at Thu Feb 08 04:49:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.