[SERVER-71407] Use pymongo.timeout() for tooling metrics collection Created: 16/Nov/22  Updated: 10/Jan/23  Resolved: 10/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Tausif Rahman (Inactive) Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-61794 Upgrade resmoke's pymongo to 4.2.0 Closed
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Rather than using explicitly setting timeouts in pymongo code for tooling metrics collection, we can use pymongo.timeout() after pymongo is upgraded to 4.2: https://pymongo.readthedocs.io/en/stable/api/pymongo/index.html#:~:text=Use%20timeout()%20in%20a%20with%2Dstatement%3A



 Comments   
Comment by Tausif Rahman (Inactive) [ 10/Jan/23 ]

This was done in the mongo-tooling-metrics library so this ticket is not needed.

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