Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16295

Investigate changes in SERVER-77909: Explore adding $collStats FTDC data for system.preimages

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              27 weeks ago