[SERVER-60455] serverStatus metrics for external sorter Created: 04/Oct/21 Updated: 29/Oct/23 Resolved: 15/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.4, 6.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Shin Yee Tan |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v6.0
|
||||||||||||||||||||||||||||||||
| Sprint: | Execution Team 2021-12-13, Execution Team 2022-01-24, Execution Team 2022-02-21, Execution Team 2022-03-07, Execution Team 2022-03-21, Execution Team 2022-04-04, Execution Team 2022-05-02, Execution Team 2022-05-16, Execution Team 2022-05-30, Execution Team 2022-06-13, Execution Team 2022-06-27, Execution Team 2022-07-11, Execution Team 2022-07-25 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Description |
|
It would be useful to capture the following diagnostic information in serverStatus about the external sorter:
|
| Comments |
| Comment by Githook User [ 23/Nov/22 ] |
|
Author: {'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}Message: (cherry picked from commit dc6803c67067003e6575fdd57e7c387fbcb8b23b) |
| Comment by Githook User [ 15/Jul/22 ] |
|
Author: {'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}Message: |
| Comment by Bruce Lucas (Inactive) [ 15/Jun/22 ] |
|
shinyee.tan@mongodb.com thanks for the update. That all makes sense. |
| Comment by Shin Yee Tan [ 14/Jun/22 ] |
|
Hey bruce.lucas@mongodb.com, regarding your questions:
We'll also be narrowing the scope of this ticket to external sorter usage only during index builds as queries have a separate stats reporting. As we're interested in the stats cumulative for all index creates, we'll report the diagnostics in serverStatus.
|
| Comment by Bruce Lucas (Inactive) [ 05/Oct/21 ] |
|
A few questions:
Generally if you're interested in stats per index create, it might be better to include these in the log line at the end of the index build instead of in serverStatus. |