[SERVER-74387] Allow the acquireCollection(s)[OrView(s)] methods to acquire non-existent collections Created: 27/Feb/23  Updated: 29/Oct/23  Resolved: 01/Mar/23

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

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: PM-2144-Milestone-0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-03-06
Participants:

 Description   

Currently, the set of acquireCollection methods throws NamespaceNotFound for collections that do not exist in the local catalog, but that's too restrictive. We should allow them to return nullptr local collections in order to be able to be used on the DDL paths.



 Comments   
Comment by Githook User [ 28/Feb/23 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-74387 Allow the acquireCollection(s)[OrView(s)] methods to acquire non-existent collections
Branch: master
https://github.com/mongodb/mongo/commit/70115d5524760e62f1534dcc5574735b51531356

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