[
https://issues.apache.org/jira/browse/IOTDB-4512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17609868#comment-17609868
]
Haiming Zhu commented on IOTDB-4512:
------------------------------------
When OOM occurs in the memtable flush procedure, the wal will be deleted and
.resource file will be generated.
!log1.png!!log2.png!!log3.png!!old.png!
Currently, we release the resources and return when error occurs.
!current.png!
> Flush OOM cause corrupt TsFile
> ------------------------------
>
> Key: IOTDB-4512
> URL: https://issues.apache.org/jira/browse/IOTDB-4512
> Project: Apache IoTDB
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: Jialin Qiao
> Assignee: Haiming Zhu
> Priority: Major
> Attachments: image-2022-09-23-10-49-23-560.png,
> image-2022-09-23-10-56-04-266.png, log1.png, log2.png, log3.png, old.png
>
>
> OOM in Flush cause corrupt tsfile, restart cannot recover this file.
>
> Flush error:
>
> !image-2022-09-23-10-56-04-266.png|width=842,height=258!
>
> Restart:
>
> 2022-09-22 15:49:44,090 [main] INFO o.a.i.db.service.IoTDB:169 -
> Congratulation, IoTDB is set up successfully. Now, enjoy yourself!
>
> Compaction Error:
>
> !image-2022-09-23-10-49-23-560.png|width=903,height=439!
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)