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

[jira] [Assigned] (IOTDB-4869) [trigger]getFailureStrategy throws exception, 在insert时报错连不上node的9003端口

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

Yuan Tian reassigned IOTDB-4869:
--------------------------------

    Assignee: liaolanyu  (was: Yuan Tian)

> [trigger]getFailureStrategy throws exception, 在insert时报错连不上node的9003端口
> ----------------------------------------------------------------------
>
>                 Key: IOTDB-4869
>                 URL: https://issues.apache.org/jira/browse/IOTDB-4869
>             Project: Apache IoTDB
>          Issue Type: Bug
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: changxue
>            Assignee: liaolanyu
>            Priority: Minor
>         Attachments: ExceptionOnStopTrigger.java, log_datanode_all.log, strategy-test-0.14-SNAPSHOT.jar
>
>
> [trigger]getFailureStrategy throws exception, 在insert时报错连不上node的9003端口
> environment:
> 3C3D cluster Nov.7th 代码
>  
> 错误信息:
> {code:java}
> -- [1]8:CREATE STATELESS TRIGGER `getFailureStrategy` AFTER INSERT ON root.sg1.d1.s1 AS 'com.timecho.test.ExceptionTrigger'
> STRICT{
> PASS
> }
> -- [1]9:insert into root.sg1.d1(time, s1) values (1, 2)
> STRICT{
> SQLSTATE : 310: can't connect to node {}TEndPoint(ip:172.20.70.46, port:9003)
> } {code}
> 问题:
> 这个错误信息可以在上层拦截或判断一下,使提示信息更加友好。
>  



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