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

周沛辰 commented on IOTDB-5859:
----------------------------

There are two main types of error:

!image-2023-05-11-16-24-11-808.png|width=1128,height=559!

!image-2023-05-11-16-24-42-712.png|width=1136,height=563!

> Compaction error when using Version as first sort dimension
> -----------------------------------------------------------
>
>                 Key: IOTDB-5859
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5859
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: Jinrui Zhang
>            Assignee: 周沛辰
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.1.1
>
>         Attachments: image-2023-05-11-16-24-11-808.png, 
> image-2023-05-11-16-24-42-712.png
>
>
> In current implementation of compaction, the default sort dimension is file 
> version when selecting compaction tasks. It will lead to compaction error in 
> tsfile load scenario. It is because the TsFile with higher version may not 
> has greater timestamp when the TsFile is loaded by tools.
>  
> Solution:
> change the sort dimension from file version to timestamp.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to