You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "liaolanyu (Jira)" <ji...@apache.org> on 2022/11/08 06:43:00 UTC

[jira] [Assigned] (IOTDB-4871) [trigger]当创建的trigger使用的类中restore方法抛出异常,之后集群中的datanode被stop了,那么这个datanode就启动不了了

     [ https://issues.apache.org/jira/browse/IOTDB-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liaolanyu reassigned IOTDB-4871:
--------------------------------

    Assignee: liaolanyu  (was: Yuan Tian)

> [trigger]当创建的trigger使用的类中restore方法抛出异常,之后集群中的datanode被stop了,那么这个datanode就启动不了了
> ------------------------------------------------------------------------------
>
>                 Key: IOTDB-4871
>                 URL: https://issues.apache.org/jira/browse/IOTDB-4871
>             Project: Apache IoTDB
>          Issue Type: Bug
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: changxue
>            Assignee: liaolanyu
>            Priority: Major
>         Attachments: ExceptionTrigger.java, screenshot-1.png, strategy-test-0.14-SNAPSHOT.jar
>
>
> [trigger]当创建的trigger使用的类中restore方法抛出异常,之后集群中的datanode被stop了,那么这个datanode就启动不了了
>  
> environment:
> 3C3D cluster Nov.7th 代码
>  
> reproduction:
>  # 集群完好,创建trigger:
> CREATE STATELESS TRIGGER `getFailureStrategy` AFTER INSERT ON root.sg1.d1.s1 AS 'com.timecho.test.ExceptionTrigger';
>  # stop 一个datanode
>  # start 上方停止的datanode
>  !screenshot-1.png! 
>  # drop trigger getFailureStrategy; 报错
> {code}
> drop trigger `getFailureStrategy`
> Msg: 923: Fail to drop trigger [getFailureStrategy] on Data Nodes
> {code}
> 于是死循环了,这个被停止的datanode就启动不起来了。如果整个集群停止,那么可以预见的,集群也启动不了了。。。。



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