Fix race in catchup_takeover_two_nodes_ahead.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.13, 4.2.1, 4.3.1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0
    • Repl 2019-09-23, Repl 2019-10-07
    • 31
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We call server status to verify the way catchup ended before before making sure the former primary has transitioned back to a secondary. This can cause a race where the node hasn't actually exited catchup when we try to check the metrics.

            Assignee:
            Samyukta Lanka
            Reporter:
            Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: