[SERVER-73953] Use fast clock and relaxed atomics for egress connection usage metrics Created: 13/Feb/23 Updated: 29/Oct/23 Resolved: 17/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0, 6.3.0-rc1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Vojislav Stojkovic | Assignee: | Vojislav Stojkovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v6.3
|
||||||||
| Sprint: | Service Arch 2023-02-20 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 105 | ||||||||
| Description |
|
In our connection pool metrics, to address BF-26894, we should use BackgroundThreadClockSource for measuring the total egress connection usage time, and relaxed memory ordering when updating counters for never used and never reused connections. |
| Comments |
| Comment by Githook User [ 21/Feb/23 ] |
|
Author: {'name': 'Vojislav Stojkovic', 'email': 'vojislav.stojkovic@mongodb.com', 'username': 'vstojkovic-mongodb'}Message: (cherry picked from commit b036dc28ad2c89164626024c77d5b428210d14a7) |
| Comment by Githook User [ 17/Feb/23 ] |
|
Author: {'name': 'Vojislav Stojkovic', 'email': 'vojislav.stojkovic@mongodb.com', 'username': 'vstojkovic-mongodb'}Message: |