You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Chao Wang (Jira)" <ji...@apache.org> on 2021/01/25 13:06:00 UTC

[jira] [Commented] (IOTDB-1126) unseq tsfile delete due to merge

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

Chao Wang commented on IOTDB-1126:
----------------------------------

After the partition is deleted, if the insert data is non-sequential data. when the flush operation, 1 Unseq-file and 0 seq-file are merged,
The MergeTask traverses sequential files. If the sequential files are empty, the merge is skipped.
After the execution is complete, delete the unordered files. However, the merged file is not generated. Therefore, the data in the unordered file is lost.

> unseq tsfile delete due to merge
> --------------------------------
>
>                 Key: IOTDB-1126
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1126
>             Project: Apache IoTDB
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Chao Wang
>            Assignee: Chao Wang
>            Priority: Major
>             Fix For: 0.12.0
>
>
> I find , if unseq tsfile and no seq-tsfile merge, so unseq tsfile delete and do not generate merge file . as follow :
> set storage group to root.test
> insert into root.test.wf02.wt02(timestamp,status) values(1,true)
> select * from root.test.wf02.wt02;
> DELETE PARTITION root.test 0;
> select * from root.test.wf02.wt02;
> insert into root.test.wf02.wt02(timestamp,status) values(1,true)
> select * from root.test.wf02.wt02;
> flush
> select * from root.test.wf02.wt02;
> this is null.



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