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

recovery_preserves_active_txns.js should use awaitSecondaryNodes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2019-04-22
    • 16

      The replsettest function "waitForState" waits for a node's state as reported by the primary. If we want to know if a secondary node is actually up, awaitSecondaryNodes should be used. In BF-12800, a secondary is restarted and "waitForState" reports it as up because the primary had not yet noticed it had gone down.

            Assignee:
            matthew.russotto@mongodb.com Matthew Russotto
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: