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

[jira] [Commented] (IOTDB-1872) StorageGroupProcessor doesn't close writer after recover

    [ https://issues.apache.org/jira/browse/IOTDB-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17432286#comment-17432286 ] 

Liuxuxin commented on IOTDB-1872:
---------------------------------

https://github.com/apache/iotdb/pull/4206

> StorageGroupProcessor doesn't close writer after recover
> --------------------------------------------------------
>
>                 Key: IOTDB-1872
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1872
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Server
>            Reporter: Liuxuxin
>            Assignee: Liuxuxin
>            Priority: Major
>         Attachments: screenshot-1.png, screenshot-2.png
>
>
> When SGP perform recover process, it new a RestorableTsFileIOWriter for each tsfile. However, it doesn't close the writer after using it. !screenshot-1.png!  So the output stream to the file will be kept in process. When recovering compaction, if the system tries to delete a tsfile, exception will occur because the handler of the file isn't removed. !screenshot-2.png! 



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