[SERVER-75303] Server status does full copy of all drop-pending idents under mutex Created: 27/Mar/23 Updated: 29/Oct/23 Resolved: 28/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| 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: | Execution Team 2023-04-03 | ||||
| Participants: | |||||
| Description |
|
When we report the number of drop-pending idents in storageEngine serverStatus section, we build a set of every ident name, only to count the result. We also do this while blocking any idents from being dropped. I've seen customers with drop-pending idents in the hundreds of thousands, and this would probably explain poor performance that they saw. As the number of idents grows, the longer we hold that mutex, which further delays ident drops... |
| Comments |
| Comment by Githook User [ 28/Mar/23 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |