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

Wait for replication of FCV document before downgrading binaries in clear_and_reinstate_keys_rs.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.5
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2018-05-07
    • Linked BF Score:
      56

      Description

      This test calls setFCV on a replica set, which inserts the FCV document with majority write concern, then tries to downgrade its binaries, which starts with the set's secondaries. If one of the secondaries hasn't replicated the FCV document before it is put into maintenance mode as part of downgrade here, it will hit this fassert when apply the batch with the FCV document.

      The test should wait for replication before downgrading to avoid this problem. This test only exists on the 3.6 branch.

        Attachments

          Activity

            People

            Assignee:
            jack.mulrow Jack Mulrow
            Reporter:
            jack.mulrow Jack Mulrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: