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



##########
File path: 
server/src/main/java/org/apache/iotdb/db/engine/compaction/no/NoCompactionTsFileManagement.java
##########
@@ -56,7 +56,7 @@ public NoCompactionTsFileManagement(String storageGroupName, 
String storageGroup
     if (sequence) {
       return new ArrayList<>(sequenceFileTreeSet);
     } else {
-      return unSequenceFileList;
+      return new ArrayList<>(unSequenceFileList);

Review comment:
       But it may be changed indide, making an iteration throws a 
ConcurrentModificationException.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to