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

Wait until all nodes become stable before checkOplogs

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.1, 4.1.1
    • Replication
    • None
    • Fully Compatible
    • v4.0, v3.6
    • Repl 2018-07-02
    • 15

    Description

      checkOplogs calls awaitReplication() for live nodes before the oplog check, but _callIsMaster() is called again and resets the _liveNodes before the check. The live nodes could be different then. Waiting for all nodes to be in Down, Primary, Secondary or Arbiter state at the very beginning of checkOplogs is a possible solution.

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: