Replace ScopedZoneOpExclusiveLock with ResourceMutex

XMLWordPrintableJSON

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

      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 Brody (Inactive)
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: