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

db 断链后,是否 有 自动/手动 reconnect 机制 #114

Open
foreverhot1019 opened this issue Oct 31, 2024 · 1 comment
Open

db 断链后,是否 有 自动/手动 reconnect 机制 #114

foreverhot1019 opened this issue Oct 31, 2024 · 1 comment

Comments

@foreverhot1019
Copy link

magic-api2.0.2
db正常链接,因为 代码事务未手动提交,导致数据,卡住,数据库 kill-session后,连接池里的链接 报: Connection Disabled,此时,访问接口,基本上所有连接池里的session链接都会报错: Connection Disabled,偶尔能成功执行. 还有一个 现象,第一次 未提交的数据,能被查出来,但在数据库其他session里查询不到

@wangshuai67
Copy link
Contributor

magic-api2.0.2 db正常链接,因为 代码事务未手动提交,导致数据,卡住,数据库 kill-session后,连接池里的链接 报: Connection Disabled,此时,访问接口,基本上所有连接池里的session链接都会报错: Connection Disabled,偶尔能成功执行. 还有一个 现象,第一次 未提交的数据,能被查出来,但在数据库其他session里查询不到

你的连接池使用的哪个,版本多少我们复现一下

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

2 participants