public void deleteDALFolderAndClose() {
    Optional.ofNullable(DeletionResourceManager.getInstance(dataRegionId))
        .ifPresent(
            manager -> {
              manager.close();
              manager.removeDAL();
            });
  }
delete the database's own folder in folder data/system/databases

@param systemDir system dir
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java