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

Make the collection critical section into a RAII class

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

      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@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: