Wait for replica set to stabilize before validating collections

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: