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

Wait for replica set to stabilize before validating collections

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.2.0, 5.0.4, 5.1.0-rc2
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.1, v5.0
    • Repl 2021-09-20, Repl 2021-10-04, Repl 2021-10-18
    • 25

    Description

      We should make sure that the replica set has stabilized (i.e. the nodes are either primary or secondary) before performing validation.

      We can do this by calling awaitSecondaryNodes before we validate, here (unsharded) and here (sharded).

      Attachments

        Activity

          People

            vishnu.kaushik@mongodb.com Vishnu Kaushik
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: