[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: |
|
||||||||
| 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. |