Use persisted size and count in FTDC collector

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Storage Execution 2026-04-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We need a way for $collStats to lookup only the persisted size and count for the provided collection computed in SERVER-122820. Add a new field to storage_stats_spec.idl that can be used in the FTDCCollector::collect() implementation.

      Update the FTDC collector to use the $collStats persisted size and count field.

      Add an integration test to collector_test.cpp or replicated_fast_count.cpp that verifies writes to a user collection after a checkpoint are not reported in the size and count.

            Assignee:
            Cedric Sirianni
            Reporter:
            Cedric Sirianni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: