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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-05-07
    • 56

      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.

            jack.mulrow@mongodb.com Jack Mulrow
            jack.mulrow@mongodb.com Jack Mulrow
            0 Vote for this issue
            2 Start watching this issue