You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Steve Yurong Su (Jira)" <ji...@apache.org> on 2021/07/15 09:35:00 UTC
[jira] [Created] (IOTDB-1506) CI fails because of JDBC connection
exceptions
Steve Yurong Su created IOTDB-1506:
--------------------------------------
Summary: CI fails because of JDBC connection exceptions
Key: IOTDB-1506
URL: https://issues.apache.org/jira/browse/IOTDB-1506
Project: Apache IoTDB
Issue Type: Bug
Reporter: Steve Yurong Su
The issue sometimes can be reproduced in
IoTDBContinuousQueryIT & IoTDBTriggerExecutionIT.
A background data generator will be started when a ContinuousQueryIT or a TriggerExecutionIT runs. The data generator uses JDBC client to execute insertion statements. As we already know, the JDBC connection may break because of TException occurs and it does not have the retry logic.
To resolve the issue, we can catch the exception, create a new connection and execute the statement again.
A failed run example:
https://github.com/apache/iotdb/pull/3572/checks?check_run_id=3072369955
--
This message was sent by Atlassian Jira
(v8.3.4#803005)