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

Replace ScopedZoneOpExclusiveLock with ResourceMutex

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.11
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 18 (08/05/16)

      The tag sharding commands use a RAII type called ScopedZoneOpExclusiveLock to take the global IX twice to prevent yielding, then takes a lock on the $configZonedSharding" resource. Now that SERVER-20524 is completed, we can use a RESOURCE_MUTEX for this and avoid having to hold the global lock just for the purpose of disabling yielding

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: