You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Bo Zhang (Jira)" <ji...@apache.org> on 2022/02/28 12:49:00 UTC

[jira] [Assigned] (IOTDB-2628) new_sync branch,fix some bugs to avoid resource leak.

     [ https://issues.apache.org/jira/browse/IOTDB-2628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bo Zhang reassigned IOTDB-2628:
-------------------------------

    Assignee: Bo Zhang

> new_sync branch,fix some bugs to avoid resource leak.
> -----------------------------------------------------
>
>                 Key: IOTDB-2628
>                 URL: https://issues.apache.org/jira/browse/IOTDB-2628
>             Project: Apache IoTDB
>          Issue Type: Bug
>            Reporter: Bo Zhang
>            Assignee: Bo Zhang
>            Priority: Major
>
> 1) org.apache.iotdb.db.newsync.sender.recovery.TsFilePipeLogAnalyzer#parseFile
>     stream  resource is not closed,need use try-with-resource to handle 
>  
> 2)  org.apache.iotdb.db.newsync.pipedata.DeletionPipeData#sendToTransport
>     This bug is similiar  to above one 
>     should remove :    System.out.println()
>  
> 3) server/src/main/java/org/apache/iotdb/db/engine/storagegroup/VirtualStorageGroupProcessor.java, line  3233
>     Here, it's better to use  "try - finally" to release lock.
>  
> 4) server/src/main/java/org/apache/iotdb/db/engine/storagegroup/VirtualStorageGroupProcessor.java , line 3260
>     similiar to above one case.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)