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

kill_with_prepare_conflicts_during_step_up needs to wait on failpoint properly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.2
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-11-18
    • 19

      kill_with_prepare_conflicts_during_step_up configures a failpoint, then runs code which hits it, then clears the global log assuming this will clear the failpoint, then waits for the failpoint to be hit again. This doesn't work with the new failpoint helper which isn't based on the global log, so we don't actually wait for the second time the failpoint is hit.

      I believe this can be fixed just by moving the configureFailPoint down to where we currently clear the global log.

            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: