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

Change DB lock RAII types to use DatabaseName

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Server Serverless 2022-07-11, Server Serverless 2022-07-25

    Description

      Change AutoGetDB, AutoGetDbForReadLockFree, and AutoGetDbForReadMaybeLockFree to take in and use DatabaseName. Change these functions to pass the DatabaseName to the DBLock and DBHolder.

      AutoGetDb is unit tested by the CatalogRAIITestFixture, and we should add/change tests there.

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: