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

Wait for replica set to stabilize before validating collections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0, 5.0.4, 5.1.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.1, v5.0
    • Repl 2021-09-20, Repl 2021-10-04, Repl 2021-10-18
    • 25

      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).

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

              Created:
              Updated:
              Resolved: