[SERVER-77909] Explore adding $collStats FTDC data for system.preimages Created: 08/Jun/23 Updated: 29/Oct/23 Resolved: 02/Aug/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jordi Olivares Provencio | Assignee: | Haley Connelly |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||
| Sprint: | Execution EMEA Team 2023-07-10, Execution EMEA Team 2023-07-24, Execution EMEA Team 2023-08-07 | ||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||
| Description |
|
As part of the technical discussion for the truncate refactor of preimages removal, we discovered that currently there's potentially no good way of detecting storage issues with preimages. To be symmettrical with the oplog, we should explore adding $collStats for preimages in single tenant environments. That way we'll be able to more easily diagnose issues with the collection. |
| Comments |
| Comment by Haley Connelly [ 02/Aug/23 ] | ||||||||||||||||||||||||||
|
I filed | ||||||||||||||||||||||||||
| Comment by Haley Connelly [ 02/Aug/23 ] | ||||||||||||||||||||||||||
|
The 'changeStreamPreImages' serverStatus section now takes the following shape on a single tenant environment.
| ||||||||||||||||||||||||||
| Comment by Githook User [ 01/Aug/23 ] | ||||||||||||||||||||||||||
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: | ||||||||||||||||||||||||||
| Comment by Githook User [ 31/Jul/23 ] | ||||||||||||||||||||||||||
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: | ||||||||||||||||||||||||||
| Comment by Kevin Arhelger [ 18/Jul/23 ] | ||||||||||||||||||||||||||
|
These diagnostics would ideally be included in FTDC. Currently, only local.oplog.rs has coll stats included in FTDC, so we'd miss out on the most important metric, which is the total number of documents in the collection. We expose this count for other things like server sessions directly in Server Status. |