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"

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2019-12-02
    • 5

      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)"

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: