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/09 02:50:00 UTC
[jira] [Created] (IOTDB-4884) [trigger] improvement in Reliability and Stability
changxue created IOTDB-4884:
-------------------------------
Summary: [trigger] improvement in Reliability and Stability
Key: IOTDB-4884
URL: https://issues.apache.org/jira/browse/IOTDB-4884
Project: Apache IoTDB
Issue Type: Improvement
Reporter: changxue
Assignee: Yuan Tian
[trigger] improvement in Reliability and Stability
问题:
1. 集群上ext/trigger 中jar的一致性
目前不能保证。如果不一致,则集群上不同节点相同trigger的行为不一致
2. onCreate, restore 中如果有隐形throw exception的情况,那么datanode停止后将启动不了。比如, onCreate 中写有连接iotdb本身的代码,就会逻辑死循环。restore也一样。因为,datanode要求trigger都加载完毕,才能进行外部连接。
3. 成功注册了trigger, 清除了ext/trigger目录和install目录,再次插入不报错,trigger不生效,datanode日志无错误
4. $IOTDB_HOME/ext/trigger/install 是上传目录,如果删除,创建trigger会报错
期望结果:
1. trigger需要有生效和失效的状态,如果onCreate等出现异常,那么就标记trigger失效就好,这样不会导致其他功能不可用。No.3 也可以这样处理。
2. 上述No.4 , 程序可以检查一下,如果没有则建一个。
--
This message was sent by Atlassian Jira
(v8.20.10#820010)