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 2021/03/12 01:39:49 UTC

[GitHub] [iotdb] jt2594838 commented on a change in pull request #2811: Fix compaction with cluster snapshot deletion

jt2594838 commented on a change in pull request #2811:
URL: https://github.com/apache/iotdb/pull/2811#discussion_r592851115



##########
File path: server/src/main/java/org/apache/iotdb/db/engine/compaction/utils/CompactionUtils.java
##########
@@ -271,6 +271,9 @@ public static void merge(
       for (TsFileResource tsFileResource : tsFileResources) {
         TsFileSequenceReader reader =
             buildReaderFromTsFileResource(tsFileResource, tsFileSequenceReaderMap, storageGroup);
+        if (reader == null) {
+          throw new IOException();

Review comment:
       Add some message in this exception.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org