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
- related to
-
SERVER-20524 Add new RESOURCE_MUTEX resource type to LockManager
- Closed