recovery_preserves_active_txns.js should use awaitSecondaryNodes

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Matthew Russotto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: