apache / apache/brpc

连接池的连接数统计问题

Open
#513 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

如题,实际连接数也就十几个,但connections里面显示得过于多了,与实际情况不符。详见下图:

![image](https://user-images.githubusercontent.com/3294444/46192581-274bef80-c32e-11e8-9c4c-b9b39c6c38f6.png)

![image](https://user-images.githubusercontent.com/3294444/46192601-303cc100-c32e-11e8-965b-97925435debd.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the connection-pool statistics discrepancy described in the issue and compare the displayed connections count with the actual connection count shown in the screenshots. Trace the connection-count reporting entry point and identify why the two values diverge; done means the reported count matches the actual connections and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.