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

MultiNodeSelectHandler cause hang #3444

Closed
13611582598 opened this issue Oct 21, 2022 · 2 comments · Fixed by #3461
Closed

MultiNodeSelectHandler cause hang #3444

13611582598 opened this issue Oct 21, 2022 · 2 comments · Fixed by #3461
Assignees
Labels
community issue from community
Milestone

Comments

@13611582598
Copy link

dble version: 3.21.10.3 , 3.21.10.10

dble 心跳异常无法连接后端数据库 :

  • java.io.IOException: the [dbInstance[x.x.x.x:13316] can't reach. Please check the dbInstance status

dble_jstack.log

@dcy10000 dcy10000 self-assigned this Oct 21, 2022
@PanternBao PanternBao added the community issue from community label Oct 24, 2022
@dcy10000
Copy link
Member

dcy10000 commented Nov 4, 2022

原因是当下发的分片数大于backendWorker线程数。外加MultiNodeSelectHandler用了阻塞队列,资源相互争抢导致了线程死锁。
线程池的线程全被堵死了没法建立心跳连接

@dcy10000 dcy10000 added this to the 3.22.11.0 milestone Nov 8, 2022
@dcy10000 dcy10000 linked a pull request Nov 30, 2022 that will close this issue
@dcy10000 dcy10000 assigned wjl1619 and unassigned dcy10000 Nov 30, 2022
@wjl1619
Copy link
Member

wjl1619 commented Jan 6, 2023

verified on version:5.7.21-dble-9.9.9.9-1c1878895bfb85238fe002bf1d013d03b001b062-20221117013530

@wjl1619 wjl1619 closed this as completed Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community issue from community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants