Jinrui Zhang created IOTDB-6095:
-----------------------------------

             Summary: Tsfiles in sequence space may be overlap with each other 
due to LastFlushTime bug
                 Key: IOTDB-6095
                 URL: https://issues.apache.org/jira/browse/IOTDB-6095
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: Jinrui Zhang
            Assignee: Jinrui Zhang
             Fix For: 1.2.1


This issue may lead to overlapped TsFile in sequence space.

 

For example,

When recover the last flush time map from two sequence TsFiles.
 * TsFile A only contains device1 with end time = 10000
 * TsFile B only contains device2 with end time = 9999

And the resources of these two TsFiles have been downgrade to FileTimeIndex.

The previous code will use TsFile B with end time = 9999 to recover the last 
flush time of device1, which would cause sequence files overlapped.

 

It is due to the recover step bug during the maintenance of LastFlushTime



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

Reply via email to