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.

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

      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

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

              Created:
              Updated:
              Resolved: