You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jinrui Zhang (Jira)" <ji...@apache.org> on 2023/05/10 05:28:00 UTC

[jira] [Created] (IOTDB-5859) Compaction error when using Version as first sort dimension

Jinrui Zhang created IOTDB-5859:
-----------------------------------

             Summary: 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: 周沛辰
             Fix For: 1.1.1


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)