Implement viewless timeseries upgrade/downgrade in the shard catalog

XMLWordPrintableJSON

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

      Implement basic support for upgrading a viewful timeseries to viewless in replica sets by:

      1. Dropping the view namespace mytimeseries
      2. Renaming the buckets namespace system.buckets.mytimeseries to mytimeseries.
      3. Update the collection metadata to remove the validator (c.f. SERVER-105786).

      For the downgrade we do the opposite steps.

       

      The entire change should be atomic i.e. done within a single WriteUnitOfWork.

       

      This ticket will focus on the shard catalog logic, and be tested via unit tests. The enablement for replica sets (replication, setFCV) is provided by SERVER-114505.

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

              Created:
              Updated: