You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xiangdong Huang (Jira)" <ji...@apache.org> on 2021/03/10 12:35:00 UTC

[jira] [Created] (IOTDB-1205) Resource Leakage in removePartition

Xiangdong Huang created IOTDB-1205:
--------------------------------------

             Summary: Resource Leakage in removePartition
                 Key: IOTDB-1205
                 URL: https://issues.apache.org/jira/browse/IOTDB-1205
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Server
            Reporter: Xiangdong Huang
         Attachments: image-2021-03-10-20-34-12-915.png

When a time partition is removed, the latestFlushTime info in this partition has no meanining.
So, we need to remove it from the hashmap, rather than define a "Long.MIN_VALUE"

 !image-2021-03-10-20-34-12-915.png! 

Besides, UT needed to confirm all garbages are cleared.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)