@TestOnly
  public static void createOldProcWalDir() throws IOException {
    File dir = new File(CommonDescriptor.getInstance().getConfig().getProcedureWalFolder());
    if (!dir.exists()) {
      if (dir.mkdirs()) {
        LOG.info("Make procedure wal dir: {}", dir);
      } else {
        throw new IOException(
            String.format(
                "Start ConfigNode failed, because couldn't make system dirs: %s.",
                dir.getAbsolutePath()));
      }
    }
  }
clean all the wal, used for unit test.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/store/ConfigProcedureStore.java