yusicheng created IOTDB-1504:
--------------------------------
Summary: Rename and sort bug when loading tsfile
Key: IOTDB-1504
URL: https://issues.apache.org/jira/browse/IOTDB-1504
Project: Apache IoTDB
Issue Type: Bug
Components: Server
Affects Versions: master branch
Reporter: yusicheng
a new tsfile will not be loaded if existing a tsfile in data which has the same
name with the new tsfile.
Steps:
step1: execute sql following
set storage group to root.group_1
create timeseries root.group_1.d_1.s_0 with datatype = boolean
create timeseries root.group_1.d_1.s_1 with datatype = float
create timeseries root.group_1.d_1.s_2 with datatype = float
insert into root.group_1.d_1(timestamp, s_1, s_0, s_2)
values(2018-07-18T00:00:00.000+08:00, 18, false, 18.18)
flush
insert into root.group_1.d_1(timestamp, s_1, s_0, s_2)
values(2018-07-19T00:00:00.000+08:00, 19, false, 19.18)
flush
step2: move a tsfile in data/sequence/root.group_1/../ to another folder, and
change the name to be the same with the left one
step3: load the moving tsfile
and we can find the tsfile will be not in the database.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)