You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "changxue (Jira)" <ji...@apache.org> on 2022/11/10 06:08:00 UTC
[jira] [Commented] (IOTDB-4878) [trigger]remove the master node of cluster, stateful trigger Meet trigger error
[ https://issues.apache.org/jira/browse/IOTDB-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17631469#comment-17631469 ]
changxue commented on IOTDB-4878:
---------------------------------
!screenshot-1.png!
当不是缩容,而是,在stateful trigger 所在节点:stop-datanode.sh,也会有这个问题。
> [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)