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

[jira] [Created] (IOTDB-1610) TsFileRewriteTool is writing incorrect data file

Haonan Hou created IOTDB-1610:
---------------------------------

             Summary: TsFileRewriteTool is writing incorrect data file
                 Key: IOTDB-1610
                 URL: https://issues.apache.org/jira/browse/IOTDB-1610
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/TsFile
    Affects Versions: master branch, 0.12.2
            Reporter: Haonan Hou


The TsFileRewriteTool has two bugs to fix.
 # If there are two pages in a Chunk, the first page crosses the time partition but not the second, then the rewritten new TsFile will have pages sequence issue, which causes the query result is not correct.
 # When the TsFileRewriteTool writing page data that doesn't need to decode, the current logic will write the uncompressed bytes to new file, which causes the reader cannot deserialize the page data. 



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