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/06/11 04:57:00 UTC

[jira] [Created] (IOTDB-1434) cluster_scalability:Stop 1 node in the 2-node cluster,create timeseires successfully

刘珍 created IOTDB-1434:
-------------------------

             Summary: cluster_scalability:Stop 1 node in the 2-node cluster,create timeseires successfully
                 Key: IOTDB-1434
                 URL: https://issues.apache.org/jira/browse/IOTDB-1434
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Cluster
    Affects Versions: 0.12.0
            Reporter: 刘珍
         Attachments: image-2021-06-11-12-56-00-425.png

cluster info :
https://github.com/apache/iotdb/pull/3191
commit f1e98e4bb77f7b5f09149d396e8eee8463bd2fc5
Author: lta <li...@163.com>
Date:   Thu Jun 10 00:52:26 2021 +0800

iotdb-cluster.properties:
seed_nodes=192.168.130.21:9003,192.168.130.13:9005
default_replica_num=1

node-21 execute :
  nohup ./sbin/start-node.sh > node21.out &

node-13 execute:
  nohup ./sbin/start-node.sh > node13.out &

node-21 cli execute:
CREATE TIMESERIES root.ln.wf01.wt01.status WITH DATATYPE=BOOLEAN, ENCODING=PLAIN
--successfully.

node-13 execute:
 ./sbin/stop-server.sh
 
[iotdb@fit21 node21]$ ./sbin/nodetool.sh status
Node                                Status
192.168.130.21:9003:40010:6667->        on
192.168.130.13:9005:40010:6667->       off

node-21 cli execute:
CREATE TIMESERIES root.ln.wf01.wt01.node21 WITH DATATYPE=BOOLEAN, ENCODING=PLAIN
--successfully.
I think,it should be failed,because more than half of the nodes in the cluster must be online to provide services.

another question,node-21 cli:
show timeseries;

It costs 60.344s
It costs too long。
 !image-2021-06-11-12-56-00-425.png|thumbnail! 






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