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

Wait for replica set to stabilize before validating collections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.4, 5.2.0, 5.1.0-rc2
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v5.1, v5.0
    • Sprint:
      Repl 2021-09-20, Repl 2021-10-04, Repl 2021-10-18
    • Linked BF Score:
      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

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

              Dates

              Created:
              Updated:
              Resolved: