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

Change DB lock RAII types to use DatabaseName

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-07-11, Server Serverless 2022-07-25

      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.

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

              Created:
              Updated:
              Resolved: