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

Add waitForFailpoint command

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.2
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2
    • Sprint:
      Sharding 2019-02-11, Sharding 2019-10-21, Sharding 2019-11-04
    • Linked BF Score:
      50

      Description

      Right now if we want to wait for a failpoint to be hit from a jstest, we need to parse log output to wait until the failpoint outputs some log message. It'd be much easier if we had a waitForFailpoint command that could wait until a failpoint got hit. This would require some "barrier"-esque functionality on the failpoint, which could potentially be useful for its own reasons.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cheahuychou.mao Cheahuychou Mao
              Reporter:
              matthew.saltz Matthew Saltz
              Participants:
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: