[ 
https://issues.apache.org/jira/browse/IOTDB-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17636975#comment-17636975
 ] 

liaolanyu commented on IOTDB-4878:
----------------------------------

Trigger 实现中指定了 44 节点作为写回节点。移除 confignode 和 datanode 后,stateful trigger 
确实恢复成功,并且执行逻辑正常,但是由于目标写回节点已经宕机,所以触发失败。

> [trigger]remove the master node of cluster, stateful trigger 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
>            Priority: Major
>         Attachments: StatefulTriggerTest.java, capacity_test.result, 
> capacity_test.run, logs.tar.gz, screenshot-1.png
>
>
> [trigger]remove the master node of cluster, stateful trigger 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