[SERVER-80122] Add background compaction server's activity to serverStatus Created: 16/Aug/23 Updated: 23/Nov/23 Resolved: 23/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | Assignee: | Sean Watt |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
This is to expose background compaction metrics in FTDC and will be provided by a new WiredTiger API call. |
| Comments |
| Comment by Etienne Petrel [ 23/Nov/23 ] | |||||||||||||||||||||
|
I will close this ticket for now as the function simply outputs stats retrieved from WiredTiger and the current stats should be enough to have a quick overview of what background compaction is doing. If we need more, please feel free to reopen gregory.wlodarek@mongodb.com. | |||||||||||||||||||||
| Comment by Sean Watt [ 22/Nov/23 ] | |||||||||||||||||||||
|
gregory.wlodarek@mongodb.com, is this enough from the server point of view or are we expecting something more? | |||||||||||||||||||||
| Comment by Sean Watt [ 22/Nov/23 ] | |||||||||||||||||||||
|
It appears the serverStatus command already includes all the connection statistics from WiredTiger, so the statistics we've added as part of this project are already included. Here's what we can observe as part of serverStatus after running
| |||||||||||||||||||||
| Comment by Etienne Petrel [ 16/Aug/23 ] | |||||||||||||||||||||
|
I have added the two following dependencies:
Is there anything specific you need to print information as part of serverStatus? |