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

ValidateCollections hook does not call setFCV(4.2) if a test leaves the FCV at "upgrading to 4.4"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.3
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Execution Team 2019-12-02
    • Linked BF Score:
      5

      Description

      Change this code to downgrade FCV to 4.2 when the test left FCV at "upgrading to 4.4".

      SERVER-37074 recently made changes to the validate hook to handle the case where FCV is in the middle of being downgraded: "downgrading to 4.2", {version: 4.4, targetVersion:4.2}. However, it also added code such that the hook won't set FCV to 4.2 if FCV is in the middle of being upgraded: "upgrading to 4.4", {version: 4.2, targetVersion:4.4}. It now only sets FCV 4.2 if the test left the FCV at "fully upgraded to 4.4", {version: 4.4}.

      Should probably change the if-statement to "if (originalFCV.targerVersion != requiredFCV) setFCV(requiredFCV)"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dianna.hohensee Dianna Hohensee
              Reporter:
              dianna.hohensee Dianna Hohensee
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: