Fix database_versioning_all_commands.js test on multi-version deployments

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-01-05
    • 200
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-101777 added some test cases where the test executes commands on different shards processes. In multi-version deployments, it could be that one shard is running a latest version binary and another is running an LTS version. In that event, the test will incorrectly not skip testing that command, and therefore the test will fail due to CommandNotFound when trying to run the command on the old binary.

      This change proposes to fix the test by restricting the tests of testable mongod commands to be the intersection of the commands supported by all the mongod processes in the cluster.

            Assignee:
            Jordi Serra Torrens
            Reporter:
            Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: