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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: