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

Namespace resolution from UUID does not check pending commit namespaces

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.1
    • Affects Version/s: 8.1.0-rc0, 6.0.16, 7.0.12, 7.3.4, 8.0.0-rc12
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0, v6.0
    • CAR Team 2024-07-22, CAR Team 2024-08-05, CAR Team 2024-08-19, CAR Team 2024-09-02
    • 200

      Detailed description and repro in the attached BF.

      In the shard role api, we call resolveNamespaceStringOrUUID before establishing a consistent collection in order to determine which read source we should be using. However, lookupNSSByUUID does not check the commit pending uuid list. This results in the namespace resolution throwing NamespaceNotFound for commit pending namespaces.

      As part of this ticket, we should also audit the other functions in the collection catalog to determine whether they should also be checking the commit pending lists to prevent similar problems from popping up in the future.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: