[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: |