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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.2
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2019-11-18
    • Linked BF Score:
      19

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: