suchenglong created IOTDB-4314:
----------------------------------

             Summary: when one node is shutdown,the result of select is wrong
                 Key: IOTDB-4314
                 URL: https://issues.apache.org/jira/browse/IOTDB-4314
             Project: Apache IoTDB
          Issue Type: Bug
    Affects Versions: 0.14.0-SNAPSHOT
            Reporter: suchenglong
         Attachments: image-2022-09-02-17-27-17-779.png

环境:集群(2副本)

!image-2022-09-02-17-27-17-779.png!

问题:

在一台副本机器挂了的情况下,查询出的数据少了(插入了两条数据,实际查询只有一条数据)

步骤:
 # 插入一条数据(insert into root.clsu2.test1.test(time,s1) values 
(100,200)),此时会自动创建存储组,用show 
regions查看,此时192.168.1.218是leader,此时能够查询出数据。这时192.168.1.218是leader,192.168.1.222是follower
 # 此时停掉192.168.1.218,此时192.168.1.222变为了leader
 # 插入一条新数据(insert into root.clsu2.test1.test(time,s1) values 
(200,200)),此时查询可以查询到两条数据。
 # 启动192.168.1.218,等待一会,停掉192.168.1.222,此时218变为了leader,再重启222,此时查询出数据只有两条。

 



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

Reply via email to