alibaba / alibaba/cobar

MySQLDetector异常导致的死循环

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

MySQLDetector 在出现异常情况下,使用的NIOReactor没有对异常进行处理,导致注册的OP_READ key没有取消掉,出现死循环打印错误异常的问题

![image](https://user-images.githubusercontent.com/1525048/40906227-c94b1102-6812-11e8-8e94-f03e56704799.png)

Contributor guide

Open the contributing guide

Research direction

Start by locating MySQLDetector and the NIOReactor path that registers OP_READ, then reproduce or inspect the exception flow shown in the issue. Done means the exceptional state no longer leaves the read key registered and the repeated error-printing loop stops.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.