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



##########
File path: 
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
##########
@@ -1974,6 +1945,10 @@ private int findInsertionPosition(TsFileResource 
newTsFileResource, long newFile
         continue;
       }
 
+      if (!localFile.isClosed() && localFile.getProcessor() != null) {

Review comment:
       Sure, or the next line will not work, and you may load it into an 
incorrect place.




----------------------------------------------------------------
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:
[email protected]


Reply via email to