Fix viewless timeseries upgrade/downgrade during selective backup/restore

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.3.0-rc0
    • Component/s: Catalog, Upgrade/Downgrade
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2026-02-16
    • 0
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      Context: During point-in-time backup/restore we may take a checkpoint at a specific timestamp Tbackup, and then replay all the oplog entries in the range from Tbackup to Trestore.

      The backup may be selective i.e. only some collections may be backed up, while others are skipped.

      However during PIT restore, all oplog entries are replayed, and it is expected that if they belong to a skipped collection, then it will become a no-op, e.g.:

       

      Issue: If we are replaying an upgradeDowngradeViewlessTimeseries oplog command entry for a skipped collection, we correctly detect that it can not be applied. However we then incorrectly conclude that this is unexpected and tassert.

       

      We should instead handle it like in the rename case above.

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

              Created:
              Updated: