private void tryCleanupServerQueue(ServerName serverName, Procedure<?> proc) {
    // serverBuckets
    tryCleanupQueue(serverName, proc,
      () -> serverBuckets[getBucketIndex(serverBuckets, serverName.hashCode())],
      SERVER_QUEUE_KEY_COMPARATOR, locking::getServerLock, serverRunQueue, this::removeServerQueue);
  }
Tries to remove the queue and the table-lock of the specified table. If there are new
operations pending (e.g. a new create), the remove will not be performed.
@param table     the name of the table that should be marked as deleted
@param procedure the procedure that is removing the table
@return true if deletion succeeded, false otherwise meaning that there are other new operations
        pending for that table (e.g. a new create).
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/MasterProcedureScheduler.java