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

Wait until all nodes become stable before checkOplogs

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.1, 4.1.1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • v4.0, v3.6
    • Repl 2018-07-02
    • 15

      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.

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

              Created:
              Updated:
              Resolved: