@Deprecated
  public boolean waitMetaExclusiveLock(Procedure<?> procedure) {
    schedLock();
    try {
      final LockAndQueue lock = locking.getMetaLock();
      if (lock.tryExclusiveLock(procedure)) {
        removeFromRunQueue(metaRunQueue, getMetaQueue(), () -> procedure + " held exclusive lock");
        return false;
      }
      waitProcedure(lock, procedure);
      logLockedResource(LockedResourceType.META, TableName.META_TABLE_NAME.getNameAsString());
      return true;
    } finally {
      schedUnlock();
    }
  }
Try to acquire the exclusive lock on meta.
@see #wakeMetaExclusiveLock(Procedure)
@param procedure the procedure trying to acquire the lock
@return true if the procedure has to wait for meta to be available
@deprecated only used for {@link RecoverMetaProcedure}. Should be removed along with
            {@link RecoverMetaProcedure}.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/MasterProcedureScheduler.java