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

Not all paths of AutoGetCollectionForReadLockFreePITCatalog check for DBVersion

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding, Storage
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-04-17

      The non-suboperation path of AutoGetCollectionForReadLockFreePITCatalog performs DBVersion check after it has already attempted to resolve a UUID into a Namespace. This means that operations, which target unsharded collections by UUID, such as internal local reads in query, will hit the NamespaceNotFound error before the DBVersion mismatch one and won't get a chance to retarget.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: