@Override
  protected void toStringClassDetails(final StringBuilder builder) {
    super.toStringClassDetails(builder);
    if (regionInfos != null) {
      builder.append(" regions=");
      for (int i = 0; i < regionInfos.length; ++i) {
        if (i > 0) builder.append(",");
        builder.append(regionInfos[i].getShortNameToLog());
      }
    } else if (namespace != null) {
      builder.append(", namespace=").append(namespace);
    } else if (tableName != null) {
      builder.append(", tableName=").append(tableName);
    }
    builder.append(", type=").append(type);
  }
On recovery, re-execute from start to acquire the locks. Need to explicitly set it to RUNNABLE
because the procedure might have been in WAITING_TIMEOUT state when crash happened. In which
case, it'll be sent back to timeout queue on recovery, which we don't want since we want to
require locks.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/locking/LockProcedure.java