shuwenwei commented on code in PR #13878:
URL: https://github.com/apache/iotdb/pull/13878#discussion_r1843135461
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/validate/TsFileOverlapValidationAndRepairTool.java:
##########
@@ -129,10 +129,9 @@ private static void
moveSeqResourceToUnsequenceDir(TsFileResource resource) thro
moveFile(
new File(tsfile.getAbsolutePath() + TsFileResource.RESOURCE_SUFFIX),
new File(targetFile.getAbsolutePath() +
TsFileResource.RESOURCE_SUFFIX));
- if (resource.modFileExists()) {
+ if (resource.anyModFileExists()) {
Review Comment:
If only shared mods file exists, it will also enter the following move
method.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]