Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
master branch, 0.13.3, 1.0.1
-
None
-
None
Description
The first unsequence file will always be selected even if it has exceed the compaction memory limit. But when the task is scheduled, it will check the available memory again before doing compaction actually (See codes at https://github.com/apache/iotdb/blob/master/server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java#L184-L193) . Once the unsequence file is larger than the compaction memory limit, the for-loop will never end.