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

Make AutoGetCollectionForRead*LockFree validate the NamespaceString

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2023-11-13, CAR Team 2024-02-05, CAR Team 2024-02-19
    • 3

    Description

      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.  

      Attachments

        Activity

          People

            sulabh.mahajan@mongodb.com Sulabh Mahajan
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: