TsFileValidationScan does not skip files without TsFileResource any more
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileValidationScan.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileValidationScan.java index d4fd235..168cbc5 100644 --- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileValidationScan.java +++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileValidationScan.java
@@ -97,9 +97,7 @@ resource = new TsFileResource(file); if (!new File(file.getAbsolutePath() + TsFileResource.RESOURCE_SUFFIX).exists()) { // resource file does not exist, tsfile may not be flushed yet - LOGGER.warn( - "{} does not exist ,skip it.", file.getAbsolutePath() + TsFileResource.RESOURCE_SUFFIX); - return false; + LOGGER.warn("{} does not exist.", file.getAbsolutePath() + TsFileResource.RESOURCE_SUFFIX); } else { resource.deserialize(); }