[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:
Backports
Depends
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: SERVER-73953 Use fast clock and relaxed atomics for egress connection usage metrics

(cherry picked from commit b036dc28ad2c89164626024c77d5b428210d14a7)
Branch: v6.3
https://github.com/mongodb/mongo/commit/b5ff7228cb09a04f59edd5513f0f5773f1f28fcc

Comment by Githook User [ 17/Feb/23 ]

Author:

{'name': 'Vojislav Stojkovic', 'email': 'vojislav.stojkovic@mongodb.com', 'username': 'vstojkovic-mongodb'}

Message: SERVER-73953 Use fast clock and relaxed atomics for egress connection usage metrics
Branch: master
https://github.com/mongodb/mongo/commit/b036dc28ad2c89164626024c77d5b428210d14a7

Generated at Thu Feb 08 06:26:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.