[SERVER-73353] Create a function CollectionCatalog::lookupCollection(NamespaceOrUUID) Created: 26/Jan/23 Updated: 29/Oct/23 Resolved: 06/Feb/23 |
|
| 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: | Matthew Saltz (Inactive) | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2023-02-20, Execution Team 2023-02-06 |
| Participants: |
| Description |
|
Right now there are different variants of lookupCollectionByNamespace, lookupCollectionByUUID, etc. This makes it difficult for callers who have a NamespaceStringOrUUID, who need to then stitch together the right CollectionCatalog functions in order to do a lookup (e.g. resolve the namespace string from the UUID if there is one, then lookup by namespace, or lookup by UUID directly, etc.) It would be good to have a lookupCollection function that directly takes NamespaceStringOrUUID and does the proper lookup. |
| Comments |
| Comment by Githook User [ 06/Feb/23 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |