[
https://issues.apache.org/jira/browse/IOTDB-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245265#comment-17245265
]
weizihan commented on IOTDB-1042:
---------------------------------
At the below pic is the corresponding description.
It describes the field name "crashed" of an empty file as "false" ,but the code
implementation is opposite.
By the way, is an empty file defined as "crashed"?
!image-2020-12-07-23-08-45-695.png|width=714,height=304!
!image-2020-12-07-16-54-24-032.png|width=742,height=268!
> Coding Implementation doesn't correspond to the design
> ------------------------------------------------------
>
> Key: IOTDB-1042
> URL: https://issues.apache.org/jira/browse/IOTDB-1042
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Core/TsFile
> Affects Versions: master branch, 0.10.1
> Reporter: weizihan
> Priority: Major
> Attachments: image-2020-12-07-16-54-24-032.png,
> image-2020-12-07-23-08-45-695.png, image-2020-12-07-23-15-08-436.png
>
>
> An empty file'll have a field "crashed" that is assigned "true" in
> org.apache.iotdb.tsfile.write.writer.RestorableTsFileIOWriter#RestorableTsFileIOWriter.
> However, according to the design docs, an empty file will have a field
> "crashed" that is assigned "false".
> !image-2020-12-07-16-54-24-032.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)