[SERVER-41496] Remove Database::getCollection method Created: 04/Jun/19  Updated: 29/Oct/23  Resolved: 30/Sep/19

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

Type: Task Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Evgeni Dobranov
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-63907 Remove code or fix comment referring ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-09-23, Execution Team 2019-10-07
Participants:

 Description   

Now that database does not own the collections, we should get rid of this method to make it explicit that it's CollectionCatalog which owns the collections.



 Comments   
Comment by Githook User [ 30/Sep/19 ]

Author:

{'name': 'Evgeni Dobranov', 'username': 'edobranov', 'email': 'evgeni.dobranov@mongodb.com'}

Message: SERVER-41496 Remove Database::getCollection() and replace with CollectionCatalog::get().lookupCollectionByNamespace()
Branch: master
https://github.com/mongodb/mongo/commit/344e1b0f3ce5caf0d4760dddc8b2d196d4b73fe8

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