Make the collection critical section into a RAII class

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.2, 4.1.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v4.0
    • Sharding 2018-07-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We should make a collection critical section RAII class that can be used by both the migrationSourceManager and the new _shardCollection command in order to acquire the shardingMigrationCriticalSection.

            Assignee:
            Janna Golden
            Reporter:
            Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: