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

[jira] [Created] (IOTDB-1581) Consider deletions when recovering tsFileResource of incomplete tsfile

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)