THUMarkLau commented on a change in pull request #4549:
URL: https://github.com/apache/iotdb/pull/4549#discussion_r766302816
##########
File path:
server/src/main/java/org/apache/iotdb/db/engine/compaction/inner/sizetiered/SizeTieredCompactionRecoverTask.java
##########
@@ -65,13 +67,21 @@ public SizeTieredCompactionRecoverTask(
}
/**
- * Clear unfinished compaction task, there are several situations:
+ * We support tmpTargetFile is xxx.target, tmpTargetResourceFile is
xxx.target.resource,
+ * targetFile is xxx.tsfile, targetResourceFile is xxx.tsfile.resource. To
clear unfinished
+ * compaction task, there are several situations:
*
* <ol>
- * <li><b>Target file is uncompleted</b>: delete the target file and
compaction log.
- * <li><b>Target file is completed, not all source files have been
deleted</b>: delete the
- * source files and compaction logs
- * <li><b>Target file is completed, all source files have been deleted,
compaction log file
+ * <li>Compaction log is incomplete, then delete it and return.
Review comment:
I guess what you mean is "Compaction log is empty"
--
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]