Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]DruidDataSource ->CreateConnectionTask-> run -> RuntimeException #6288

Open
kibear opened this issue Dec 16, 2024 · 0 comments
Open

[BUG]DruidDataSource ->CreateConnectionTask-> run -> RuntimeException #6288

kibear opened this issue Dec 16, 2024 · 0 comments

Comments

@kibear
Copy link

kibear commented Dec 16, 2024

Database Type

非数据库

Database Version

非数据库

Druid Version

2.2

JDK Version

1.8

Error SQL

非sql异常

Testcase Code

创建连接的时候,其他代码抛出RuntimeException会导致一直重新创建连接,可不可以在创建连接时,如果抛出RunimeException,加个参数,SqlException里面就加了这个逻辑,为什么RuntimeExceprtion就是直接重试,而不检查是否需要重试。

Stacktrace Info

No response

Error Info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant