Haonan Hou created IOTDB-5992:
---------------------------------

             Summary: TsfileResource error after delete device in sequence 
working memtable
                 Key: IOTDB-5992
                 URL: https://issues.apache.org/jira/browse/IOTDB-5992
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Haonan Hou


This bug will cause TsfileResource contains a device with endTime=Long.minValue.

To reproduce, execute the following sql:
insert into root.sg.d1(time,s1) values(1,2)
insert into root.sg.d2(time,s1) values(1,2)
insert into root.sg.d3(time,s1) values(1,2)
delete from root.sg.d2.*
flush
Then use TsFileResourcePrinter to print the resource file.
Analyzing 
/Users/ht/Documents/iotdb/data/datanode/data/sequence/root.sg/2/0/1685960618341-1-0-0.tsfile
 ...

Resource plan index range [9223372036854775807, -9223372036854775808]
device root.sg.d2, start time 1 (1970-01-01T08:00:00.001), end time 
-9223372036854775808 (-292275055-05-17T00:52:47.192)
device root.sg.d3, start time 1 (1970-01-01T08:00:00.001), end time 1 
(1970-01-01T08:00:00.001)

Analyzing the resource file folder data/datanode/data/sequence/root.sg/2/0 
finished.

Process finished with exit code 0



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

Reply via email to