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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.5
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-05-07
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: