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

run_validate_collections.js should pass "fromConfigServer: true" when finishing FCV transition from last-lts to last-continuous.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc5, 5.1.0-rc0
    • 5.0.0, 4.9.0
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.9
    • Repl 2021-06-14
    • 42

    Description

      The jstestfuzzer can do a direct write to the fcv document and set the FCV state to "upgrading from last-lts to last-continuous". This is a valid state, but we expect it to only  be accessible through the setFeatureCompatibilityVersion command by setting fromConfigServer: true, which is only used internally by sharding. 

      run_validate_collections.js can fail to complete the in-progress FCV transition when running the ValidateCollections hook. We should check that if the current FCV is in the upgrading to last-continuous state, we also pass in fromConfigServer: true

      Attachments

        Activity

          People

            jason.chan@mongodb.com Jason Chan
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: