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

Stepdown can interrupt setFCV before reconfig completes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0, 4.9.0-rc1
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.9
    • Sprint:
      Repl 2021-03-08, Repl 2021-03-22, Repl 2021-04-05, Repl 2021-04-19
    • Linked BF Score:
      129

      Description

      When setting the FCV to 4.4 from 4.9, we first update to the FCV document, which sets the targetVersion to 4.4. Before we complete the reconfig to change `secondaryDelaySecs` back to `slaveDelay` in the replica set config, stepdown can interrupt the setFCV command. This means that the FCV is effectively 4.4, but the replica set config contains `secondaryDelaySecs` instead of `slaveDelay`. If the node steps back up again (or another node that also has FCV set to 4.4 steps up), then the associated reconfig will fassert because the config is invalid.

        Attachments

          Activity

            People

            Assignee:
            pavithra.vetriselvan Pavithra Vetriselvan
            Reporter:
            samy.lanka Samyukta Lanka
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: