changxue created IOTDB-4878:
-------------------------------

             Summary: [trigger]remove the master node of cluster, Meet trigger 
error
                 Key: IOTDB-4878
                 URL: https://issues.apache.org/jira/browse/IOTDB-4878
             Project: Apache IoTDB
          Issue Type: Bug
    Affects Versions: 0.14.0-SNAPSHOT
            Reporter: changxue
            Assignee: liaolanyu
         Attachments: StatefulTriggerTest.java, capacity_test.result, 
capacity_test.run, logs.tar.gz

[trigger]remove the master node of cluster, Meet trigger error

environment:
3C3D cluster Nov.8th source codes

reproduction:
1. start the cluster successfully
2. 运行 capacity_test.run 得到 capacity_test.result结果(都正常)
3. remove-confignode.sh 172.20.70.44:22277
4. remove-datanode.sh 172.20.70.44:6667
5. 运行insert
{code}
IoTDB> insert into root.sg1.d1(time, s1) aligned values 
(3,80),(4,100),(5,20),(6,33),(7,109),(8,120)(9,85),(10,90);
Msg: 355: Meet trigger error before/after the insertion, the insertion itself 
is completed.
IoTDB> show cluster;
+------+----------+-------+---------------+------------+
|NodeID|  NodeType| Status|InternalAddress|InternalPort|
+------+----------+-------+---------------+------------+
|     1|ConfigNode|Running|   172.20.70.45|       22277|
|     4|ConfigNode|Running|   172.20.70.46|       22277|
|     3|  DataNode|Running|   172.20.70.45|        9003|
|     5|  DataNode|Running|   172.20.70.46|        9003|
+------+----------+-------+---------------+------------+
{code}

说明:
出错的是stateful的trigger,未缩容前是正常的。
stateless的trigger没有问题。
集群启动时指定:
cn_target_config_node_list=172.20.70.44:22277
dn_target_config_node_list=172.20.70.44:22277





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

Reply via email to