Allow applyOps to execute upgradeDowngradeViewlessTimeseries c-entry for system-authenticated users

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-04-13
    • 馃煢 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      For escalations, it would be useful to have a way to upgrade a timeseries collection to viewless format without going through setFCV. For example, if setFCV incorrectly skips upgrading a viewful timeseries collection, we could quickly fix that.

      Since聽SERVER-114505 added a upgradeDowngradeViewlessTimeseries oplog command entry type, ideally we could solve this use case via applyOps, but it turns out that this actually fails in replica set with authentication because the applyOps permission check requires a command to exist (see attached repro).

      This ticket is for solving this issue by either:

      • Adding a upgradeDowngradeViewlessTimeseries command, or:
      • Special-case upgradeDowngradeViewlessTimeseries in applyOps to not require a command.

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

              Created:
              Updated:
              Resolved: