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

Fix race in catchup_takeover_two_nodes_ahead.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.13, 4.2.1, 4.3.1
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0
    • Sprint:
      Repl 2019-09-23, Repl 2019-10-07
    • Linked BF Score:
      31

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: