ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 9.0.0
    • Component/s: Catalog, Upgrade/Downgrade
    • None
    • Catalog and Routing
    • ALL
    • v9.0
    • CAR Team 2026-09-28
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      During the upgrade to FCV 9.0, every timeseries collection is implicitly converted from the legacy (viewful) format to the viewless format. This conversion breaks the counters reported in the catalogStats section of the serverStatus command:

      • timeseries drops to 0, while it should remain unchanged (the collections still exist, they are just converted to the viewless format).
      • internalCollections should decrease by the number of timeseries collections, since the conversion removes the legacy system.buckets collections; instead it stays unchanged.

      The in-memory CollectionCatalog stats are only updated via collection register/deregister bookkeeping: a collection is counted towards userTimeseries only when it is already marked as a viewless timeseries collection, and system.buckets namespaces are counted as internal. The upgrade to viewless format performs a dropView and a renameCollection of the buckets namespace over the main namespace without updating these counters, leaving them stale.

      Restarting the node fixes the counters, as the catalog is rebuilt from the durable catalog on startup.

      Related: SERVER-106489

        1. TimeseriesDrop.png
          41 kB
          Joan Bruguera Micó

            Assignee:
            Tommaso Tocci
            Reporter:
            Tommaso Tocci
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: