changxue created IOTDB-4871:
-------------------------------
Summary:
[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: Yuan Tian
Attachments: ExceptionTrigger.java, 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
# 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)