Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73353

Create a function CollectionCatalog::lookupCollection(NamespaceOrUUID)

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2023-02-20, Execution Team 2023-02-06

      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.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: