You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/02/10 11:44:43 UTC
[GitHub] [iotdb] choubenson commented on a change in pull request #5031: [IOTDB-2500] [ query & cross-compaction ] cross-compaction stuck
choubenson commented on a change in pull request #5031:
URL: https://github.com/apache/iotdb/pull/5031#discussion_r803589581
##########
File path: server/src/main/java/org/apache/iotdb/db/engine/compaction/CompactionUtils.java
##########
@@ -359,6 +359,22 @@ private static void updateOneTargetMods(
targetFile.getModFile().close();
}
+ public static void removeCompactionModification(
+ List<TsFileResource> selectedSeqTsFileResourceList,
+ List<TsFileResource> selectedUnSeqTsFileResourceList,
+ String fullStorageGroupName) {
+ try {
+ for (TsFileResource seqFile : selectedSeqTsFileResourceList) {
+ ModificationFile.getCompactionMods(seqFile).remove();
+ }
+ for (TsFileResource unseqFile : selectedUnSeqTsFileResourceList) {
+ ModificationFile.getCompactionMods(unseqFile).remove();
+ }
+ } catch (IOException e) {
+ logger.error("{} cannot remove merging modification ", fullStorageGroupName, e);
Review comment:
resolved
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org