public void wakeGlobalExclusiveLock(Procedure<?> procedure, String globalId) {
    schedLock();
    try {
      final LockAndQueue lock = locking.getGlobalLock(globalId);
      lock.releaseExclusiveLock(procedure);
      addToRunQueue(globalRunQueue, getGlobalQueue(globalId),
        () -> procedure + " released shared lock");
      int waitingCount = wakeWaitingProcedures(lock);
      wakePollIfNeeded(waitingCount);
    } finally {
      schedUnlock();
    }
  }
Wake the procedures waiting for global.
@see #waitGlobalExclusiveLock(Procedure, String)
@param procedure the procedure releasing the lock
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/MasterProcedureScheduler.java