[SERVER-28842] Slice `catalog/database_holder` using a vtable Created: 18/Apr/17  Updated: 30/Oct/23  Resolved: 24/Apr/17

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

Type: Improvement Priority: Major - P3
Reporter: ADAM Martin (Inactive) Assignee: ADAM Martin (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-23103 Make library dependency graph acyclic Closed
is depended on by SERVER-27912 Stand up an interface to `src/mongo/d... Closed
Gantt Dependency
has to be done before SERVER-28851 Resolve more cycles from further vtab... Closed
has to be done after SERVER-28832 Slice `catalog/collection_info_cache`... Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-05-08
Participants:

 Comments   
Comment by Githook User [ 24/Apr/17 ]

Author:

{u'username': u'adamlsd', u'name': u'ADAM David Alan Martin', u'email': u'adam.martin@10gen.com'}

Message: SERVER-28842 Slice `DatabaseHolder` using a vtable

The `DatabaseHolder` class and the `dbHolder` free function are
used in many libraries which are circularly dependent with `catalog`.
By adding a vtable to facilitate dynamically injectable implementations,
we can break those dependencies.
Branch: master
https://github.com/mongodb/mongo/commit/caec188e15b6e6015c2360b8e5bafc160d0d1f48

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