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

[jira] [Created] (IOTDB-1527) rel/0.12:[Sync] The sender creates the deleted timeserie again, and the receiver can query the deleted timeserie's data

刘珍 created IOTDB-1527:
-------------------------

             Summary: rel/0.12:[Sync] The sender creates the deleted timeserie again, and the receiver can query the deleted timeserie's data
                 Key: IOTDB-1527
                 URL: https://issues.apache.org/jira/browse/IOTDB-1527
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Sync
            Reporter: 刘珍


rel/0.12 153a4a3e88f6c27ae563e1b1681562798c0597b5

192.168.130.13 : reveiver
192.168.130.10 : sender

1. 192.168.130.10  cli
set storage group to root.sg1;
CREATE TIMESERIES root.sg1.dev1.s1 WITH DATATYPE=FLOAT, ENCODING=PLAIN;
insert into root.sg1.dev1(time,s1) values(1000,1.14);
flush;

192.168.130.13 sync successfully

2.192.168.130.10  cli

 delete storage group root.*;
 flush;
 192.168.130.13 sync successfully

3. 192.168.130.10  cli

set storage group to root.sg1;
CREATE TIMESERIES root.sg1.dev1.s1 WITH DATATYPE=FLOAT, ENCODING=PLAIN;
insert into root.sg1.dev1(time,s1) values(2000,2.14);
flush;

 192.168.130.13 sync successfully ,  {color:#DE350B}*but *{color} :
select * from root.sg1.dev1;
--已删除的序列的值,可以查询到(期望查询到1条记录)

IoTDB> select * from root.sg1.dev1;
+-----------------------------+----------------+
|                         Time|root.sg1.dev1.s1|
+-----------------------------+----------------+
|{color:#DE350B}*1970-01-01T08:00:01.000+08:00|            1.14*{color}|
|1970-01-01T08:00:02.000+08:00|            2.14|
+-----------------------------+----------------+
Total line number = 2





--
This message was sent by Atlassian Jira
(v8.3.4#803005)