Hi, This file has 4096 bytes. However, it only contains a Magic header, other bytes are 0.
When we scan the TsFile from the beginning, It takes the first byte behind the header as a marker, which is 0 (ChunkGroupFooter). A possible solution is discarding the corrupted chunk group, then remove the file if it is empty, otherwise close the remaining file. Thanks, -- Jialin Qiao School of Software, Tsinghua University 乔嘉林 清华大学 软件学院 > -----原始邮件----- > 发件人: "FengQingxin (Jira)" <[email protected]> > 发送时间: 2019-10-18 19:04:00 (星期五) > 收件人: [email protected] > 抄送: > 主题: [jira] [Created] (IOTDB-255) Can't restart IoTDB service > > FengQingxin created IOTDB-255: > --------------------------------- > > Summary: Can't restart IoTDB service > Key: IOTDB-255 > URL: https://issues.apache.org/jira/browse/IOTDB-255 > Project: Apache IoTDB > Issue Type: Bug > Reporter: FengQingxin > Attachments: 1571300334171-6790.tsfile, > image-2019-10-18-19-03-49-959.png > > Hi IoTDB Dev > > when I using iotdb [rel/0.8],I got a issue.Someone reboot my server > without close IoTDB service.After the server restart,I tryed to restart my > IoTDB. I got an error message like this: > {color:#FF0000}Caused by: java.lang.IllegalArgumentException: Given > chunkMetaDataList is null{color} > > > Looks like I got a broken TsFile. > > !image-2019-10-18-19-03-49-959.png! > > Please help us to check this issue.Thanks! > > > > > > -- > This message was sent by Atlassian Jira > (v8.3.4#803005)
