Forbid inconsistent view resolution during concurrent viewless timeseries upgrade/downgrade

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.3.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-12-22, CAR Team 2026-01-05
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      After SERVER-114830 & SERVER-114505, timeseries collections can be upgraded/downgraded from/to viewless format in replica sets.

      This is atomic at all levels: durable storage, in-memory catalog and replication.

       

      However, for viewful timeseries collections, resolving the view to a query over the system.buckets collection involves catalog queries at multiple points in time, due to either:

      • Using multiple CollectionCatalog instances.
      • Because the in-memory catalog API don't support point-in-time reads for views (SERVER-74429).

      Those queries may not see the viewful timeseries collection or it may disappear mid-operation, which causes them to return no documents.

       

      Implement a way for those queries to either return the expected results or be interrupted.

            Assignee:
            Joan Bruguera Micó
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: