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

jdbc接口中资源释放错误 #194

Closed
hanahmily opened this issue Nov 24, 2016 · 0 comments
Closed

jdbc接口中资源释放错误 #194

hanahmily opened this issue Nov 24, 2016 · 0 comments

Comments

@hanahmily
Copy link
Contributor

jdbc中,Connection,Statement,Resultset等接口中的close方法中部分组件异常造成另外一部分组件的close方法没有被调用。

问题复现步骤:

1.执行一组多分片查询
2.用模拟连接池,对这次查询的一组连接里中间的连接模拟close阶段抛出异常

期望的表现:

模拟出来的所有连接都正常关闭

观察到的表现:

部分连接没有关闭

屏幕截图和动态GIF图


Sharding-JDBC版本: [1.4.0]
操作系统及版本: [OSX 10.11.6]

xydonne pushed a commit to xydonne/sharding-jdbc that referenced this issue Dec 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant