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

Reads during concurrent rename may call openCollection with the wrong namespace when reading using UUID

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

      We resolve the UUID to a NamespaceString that is then used for the rest of the read setup.

      However, when there is a concurrent rename that is committed to the storage engine but not to the in-memory catalog we wrongly report this as the collection not existing.

      We need to perform openCollection with a UUID in this case to be correct.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: