github-actions[bot] commented on issue #15108:
URL: 
https://github.com/apache/dolphinscheduler/issues/15108#issuecomment-1790136453

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   After starting a complex sub-process task, the master always fails to obtain 
the database connection repeatedly. As a result, new tasks cannot be started, 
and dolphin needs to be restarted. The error log is as follows:
   ### Error querying database. Cause: 
org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain 
JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: 
DolphinScheduler - Connection is not available, request timed out after 30000ms.
   ### The error may exist in class path resource 
[org/apache/dolphinscheduler/dao/mapper/WorkerGroupMapper.xml]
   ### The error may involve 
org.apache.dolphinscheduler.dao.mapper.WorkerGroupMapper.queryAllWorkerGroup
   ### The error occurred while executing a query
   ### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed 
to obtain JDBC Connection; nested exception is 
java.sql.SQLTransientConnectionException: DolphinScheduler - Connection is not 
available, request timed out after 30000ms.
   at 
org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
   at 
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:153)
   at 
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:145)
   at 
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140)
   at sun.reflect.GeneratedMethodAccessor352.invoke(Unknown Source)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at 
org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427)
   ... 34 common frames omitted
   Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed 
to obtain JDBC Connection; nested exception is 
java.sql.SQLTransientConnectionException: DolphinScheduler - Connection is not 
available, request timed out after 30000ms.
   
   ### What you expected to happen
   
   How to solve
   
   ### How to reproduce
   
   Use a complex, deeply nested sub-process task
   
   ### Anything else
   
   Not yet
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to