move_primary_setFCV.js test creates database at latest FCV instead of downgraded FCV

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • v8.2, v8.0, v7.0, v6.0
    • CAR Team 2025-12-08
    • 1
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      The test move_primary_setFCV.js has a logic error where createdBeforeUpgradingDB is created at the latest FCV instead of the downgraded FCV, which defeats the purpose of the test.

      To fix this, remove the setFeatureCompatibilityVersion command that appears before creating createdBeforeUpgradingDB. The FCV upgrade that comes after the database creation is sufficient and correctly placed.

            Assignee:
            Meryama Nadim
            Reporter:
            Meryama Nadim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: