Fix capped collection performance regression

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Storage Execution 2026-04-27, Storage Execution 2026-05-11
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This should address the perf regression observed in BF-42983.

      In CollectionImpl::numRecords() and CollectionImpl::dataSize(), check the data format change feature flag. If it's enabled, use persistedSizeCount(), otherwise use the M13 logic for returning size/count.

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

              Created:
              Updated:
              Resolved: