Jialin Qiao created IOTDB-1513:
----------------------------------
Summary: Restart may cause TsFileResource's time not accuracy
(query result not right)
Key: IOTDB-1513
URL: https://issues.apache.org/jira/browse/IOTDB-1513
Project: Apache IoTDB
Issue Type: Bug
Components: Recover
Affects Versions: master branch, 0.11.4, 0.12.1
Reporter: Jialin Qiao
If we flush the following Chunk into a TsFile but not close the file:
d1.s1: Chunk(INT32, starttime=1, endtime=2)
d1.s2: Chunk(BOOLEAN, starttime=3, endtime=4)
When restart, we recover these two ChunkMetadata and remove the ChunkMetadata
whose datatype is not consistent with the last one.
Then we got a TsFileResource whose time interval is [3, 4].
If we query time<3, we will skip this file, which cause the query result not
right.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)