[SERVER-85385] Create CursorStats in a MongoIntitializer Created: 18/Jan/24 Updated: 23/Jan/24 Resolved: 22/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shreyas Kalyan | Assignee: | Shreyas Kalyan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Security 2024-01-22 | ||||
| Participants: | |||||
| Linked BF Score: | 142 | ||||
| Description |
|
The server status metrics for CursorStats is being initialized in thread local state, rather than before we start multi-threading. We should initialize CursorStats in a MongoInitializer. |
| Comments |
| Comment by Githook User [ 22/Jan/24 ] |
|
Author: {'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}Message: GitOrigin-RevId: 79f1fba57c911c07ee523858bc4148c84dda638c |