[SERVER-71208] Handle namespaces with pending commit in openCollection Created: 09/Nov/22  Updated: 29/Oct/23  Resolved: 28/Nov/22

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

Type: Task Priority: Major - P3
Reporter: Henrik Edin Assignee: Will Buerger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes SERVER-70982 Add unit tests for instantiating coll... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-11-28
Participants:
Linked BF Score: 135

 Description   

openCollection without a timestamp will only be used when the namespace is in pending commit.

The correct collection instance to return is either what is already stored in the CollectionCatalog or the instance that is stored under pending commit.

We need to read the catalog entry from the durable catalog and compare it with the two instances above to determine which is the correct one to use.



 Comments   
Comment by Githook User [ 23/Nov/22 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-71208: Handle namespaces pendingCommit in openCollection
Branch: master
https://github.com/mongodb/mongo/commit/5e35b4a34496933257ced0cb8e3b6d99439985f0

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