[SERVER-39642] Decrement egress counter when scoped connection not returned to the pool Created: 15/Feb/19 Updated: 29/Oct/23 Resolved: 04/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | 3.6.10, 4.0.6, 4.1.8 |
| Fix Version/s: | 3.4.22, 3.6.14, 4.0.11, 4.2.0-rc1, 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Sedor | Assignee: | Rahul Sundararaman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.2, v4.0, v3.6, v3.4
|
||||||||
| Sprint: | Service Arch 2019-03-11, Service Arch 2019-03-25, Service Arch 2019-04-08, Service Arch 2019-06-17 | ||||||||
| Participants: | |||||||||
| Case: | (copied to CRM) | ||||||||
| Description |
|
this code calls kill() in certain cases and done() in others. Only done() decrements the _checkedOut value. The result is that openConnections() rises inaccurately over time. The inaccurate reporting was observed on 3.6.7 but code appears unchanged since. It's understood that PM-1121 may eventually obviate this pool but it may not be a difficult fix in the interim. |
| Comments |
| Comment by Githook User [ 07/Jun/19 ] |
|
Author: {'name': 'Rahul Sundararaman', 'email': 'rahul.sundararaman@10gen.com', 'username': 'rsbballguy'}Message: |
| Comment by Githook User [ 07/Jun/19 ] |
|
Author: {'name': 'Rahul Sundararaman', 'email': 'rahul.sundararaman@10gen.com', 'username': 'rsbballguy'}Message: |
| Comment by Githook User [ 07/Jun/19 ] |
|
Author: {'name': 'Rahul Sundararaman', 'email': 'rahul.sundararaman@10gen.com', 'username': 'rsbballguy'}Message: |
| Comment by Githook User [ 07/Jun/19 ] |
|
Author: {'name': 'Rahul Sundararaman', 'email': 'rahul.sundararaman@10gen.com', 'username': 'rsbballguy'}Message: (cherry picked from commit 82637430ff373bc3a64465c4de3ff9999f745105) |
| Comment by Githook User [ 04/Jun/19 ] |
|
Author: {'name': 'Rahul Sundararaman', 'email': 'rahul.sundararaman@10gen.com', 'username': 'rsbballguy'}Message: |