Minghui Liu created IOTDB-1581:
----------------------------------

             Summary: Consider deletions when recovering tsFileResource of 
incomplete tsfile
                 Key: IOTDB-1581
                 URL: https://issues.apache.org/jira/browse/IOTDB-1581
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Minghui Liu


When recovering a incomplete TsFile:
                * Call `recoverResourceFromWriter` to recover the resource 
information through the ChunkMetadata information in `RestorableTsFileIOWriter`
                * Call the `redoLogs` method to write the data in one or more 
wal files corresponding to this file to a temporary Memtable and persist to 
this incomplete TsFile

The deletions ( Recorded in the .mods file ) are not considered in the two 
aspects, resulting in the recovery time range being wider than actual.



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

Reply via email to