[SERVER-72133] CollectionCatalog::openCollection should add entries to UncommittedCatalogUpdates for dropped collections Created: 14/Dec/22  Updated: 29/Oct/23  Resolved: 19/Jan/23

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

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

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-12-26, Execution Team 2023-01-09, Execution Team 2023-01-23
Participants:
Linked BF Score: 159

 Description   

If CollectionCatalog::openCollection finds that a collection does not exist, we should still call UncommittedCatalogUpdates::openCollection so that future lookups know that the collection does not exist.



 Comments   
Comment by Githook User [ 19/Jan/23 ]

Author:

{'name': 'Matthew Saltz', 'email': 'matthew.saltz@mongodb.com', 'username': 'saltzm'}

Message: SERVER-72133 Change CollectionCatalog::openCollection to call OpenedCollections::store for dropped collections
Branch: master
https://github.com/mongodb/mongo/commit/60ab8833ac227bdd91203b232f8ca4383fde50c5

Comment by Githook User [ 11/Jan/23 ]

Author:

{'name': 'Sviatlana Zuiko', 'email': 'sviatlana.zuiko@mongodb.com', 'username': 'szuiko'}

Message: Revert "SERVER-72133 Change CollectionCatalog::openCollection to call UncommittedCatalogUpdates::openCollection for dropped collections"

This reverts commit 86415105664c7101a0b61cdee6d974d0e1a0a17f.
Branch: master
https://github.com/mongodb/mongo/commit/f4db0a866a9894a21ed5e34ff6f2bff8e40c5c81

Comment by Githook User [ 10/Jan/23 ]

Author:

{'name': 'Matthew Saltz', 'email': 'matthew.saltz@mongodb.com', 'username': 'saltzm'}

Message: SERVER-72133 Change CollectionCatalog::openCollection to call UncommittedCatalogUpdates::openCollection for dropped collections
Branch: master
https://github.com/mongodb/mongo/commit/86415105664c7101a0b61cdee6d974d0e1a0a17f

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