[DOCS-16295] Investigate changes in SERVER-77909: Explore adding $collStats FTDC data for system.preimages Created: 02/Aug/23  Updated: 13/Nov/23  Resolved: 02/Aug/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-77909 Explore adding $collStats FTDC data f... Closed
Participants:
Days since reply: 27 weeks ago

 Description   
Original Downstream Change Summary

The 'changeStreamPreImages' serverStatus section has additional statistics in a single-tenant enviornment.

numDocs: <int> // same as $collStats.count
totalBytes: <int> // same as $collStats.size
avgDocSize: <int> // same as $collStats.avgObjSize (like collstats, only included when numDocs is non-zero)
storageSize: <int> // same as $collStats.storageSize
freeStorageSize: <int> // same as $collStats.freeStorageSize

Description of Linked Ticket

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 Sarah Olson [ 02/Aug/23 ]

Thanks kateryna.kamenieva@mongodb.com. Will do.

Comment by Katya Kamenieva [ 02/Aug/23 ]

ah, looks like docs were done for this here https://jira.mongodb.org/browse/DOCS-16039
I think his ticket can be closed

Comment by Katya Kamenieva [ 02/Aug/23 ]

There are no plans for documenting PM-3092 as a user-facing feature, but looks like SERVER-77909 added new metrics to serverStatus, and we the output of serverStatus, e.g. here https://www.mongodb.com/docs/manual/reference/command/serverStatus/ , so we can add this new section to that page at least

Generated at Thu Feb 08 08:15:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.