Skip to content

Commit

Permalink
此处在高并发情况下会存在并发问题, fixed #1072 极有可能解决了 #700
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuam committed May 19, 2017
1 parent 814fbce commit 8e3ec07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/io/mycat/net/NIOProcessor.java
Expand Up @@ -172,7 +172,8 @@ private void frontendCheck() {

// 清理已关闭连接,否则空闲检查。
if (c.isClosed()) {
c.cleanup();
// 此处在高并发情况下会存在并发问题, fixed #1072 极有可能解决了 #700
//c.cleanup();
it.remove();
this.frontendsLength.decrementAndGet();
} else {
Expand Down

0 comments on commit 8e3ec07

Please sign in to comment.