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

[v4.4] Support running checkFCV() shell helper with mongos connection

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v4.2
    • Sharding 2021-06-14
    • 45

    Description

      The changes from c0142cd as part of SERVER-56961 made it so the FuzzerRestoreClusterSettings hook first restores the feature compatibility version to latestFCV. When a previous upgrade or downgrade was interrupted, the setFeatureCompatibilityVersion command is run to finish the FCV upgrade or downgrade and then the featureCompatibilityVersion server parameter and document is read to affirm the FCV upgrade or downgrade completed successfully. mongos doesn't report a featureCompatibilityVersion server parameter and so the withFCV() function throws in this case.

      https://github.com/mongodb/mongo/blob/e92664940640287874bf6d08940df26fee7bc2b8/jstests/libs/with_fcv.js#L74

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: