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

Check DatabaseShardingState::checkDbVersion after acquiring a storage snapshot for AutoGetCollection*LFR

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2020-11-16, Execution Team 2020-11-30, Execution Team 2020-12-14, Execution Team 2020-12-28

      DatabaseShardingState::checkDbVersion is normally called in DBLock, which AutoGetCollectionLFR will not use. I think we'll want to perform the check after setting up consistent catalog state (opening a storage snapshot), but need to prove it first in SERVER-51274

      Also remove the dassert lock checks in DatabaseShardingState::get() and CollectionShardingState::get() in this task.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: