Allow upgrade/downgrade of viewless timeseries outside of setFCV for escalations (replica sets)

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.3.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • 馃煢 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.

        1. repro-SERVER-118828.js
          1.0 kB
          Joan Bruguera Mic贸

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

              Created:
              Updated: