[COMPASS-7076] Investigate changes in SERVER-77909: Explore adding $collStats FTDC data for system.preimages Created: 02/Aug/23  Updated: 29/Jan/24  Resolved: 29/Jan/24

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

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

Issue Links:
Depends
depends on SERVER-77909 Explore adding $collStats FTDC data f... Closed
Epic Link: COMPASS-6403
Documentation Changes: Not Needed

 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 Anna Henningsen [ 29/Jan/24 ]

No impact

Comment by PM Bot [ 02/Aug/23 ]

Fix Version updated for upstream SERVER-77909:
7.1.0-rc0

Generated at Wed Feb 07 22:45:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.