Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-59158

Support running checkFCV() shell helper with mongos connection

    • Fully Compatible
    • v5.0
    • Sharding 2021-08-09
    • 37

      When a previous upgrade or downgrade was interrupted, the jstests/hooks/run_validate_collections.js hook runs the setFeatureCompatibilityVersion command is run to finish the FCV upgrade or downgrade. The featureCompatibilityVersion server parameter and document is then read to affirm the FCV upgrade or downgrade completed successfully. mongos doesn't report a featureCompatibilityVersion server parameter and so the checkFCV() function throws in this case.

      https://github.com/mongodb/mongo/blob/f0c31b47ed99ef7ff11e79180205b50e439234a8/jstests/hooks/run_validate_collections.js#L69

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: