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

Make AutoGetCollectionForRead*LockFree validate the NamespaceString

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2023-11-13, CAR Team 2024-02-05, CAR Team 2024-02-19, CAR Team 2024-03-04, CAR Team 2024-03-18, CAR Team 2024-04-01, CAR Team 2024-05-13, CAR Team 2024-05-27
    • 3
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      AutoGetCollectionForReadLockFree doesn't check that the namespace is valid since it doesn't take collection or database locks but it does check that the shard version for the collection is not stale, which can fail if the namespace is invalid. So it needs check if the namespace is valid just like AutoGetCollectionAutoGetCollectionForRead and AutoGetCollectionForReadCommand.  

            Assignee:
            Unassigned Unassigned
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: