replace OperationContext with Interruptible in FailPoint API

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2020-05-18, Execution Team 2020-06-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The FailPoint interface allows waiters to be interrupted while waiting on a fail point in FailPoint::pauseWhileSet() and FailPoint::waitForTimesEntered(). These two functions currently accept OperationContext but the interruptible sleep function is really part of the base class Interruptible::sleepFor(). These functions currently do not support callers that might want to pass in other classes derived from Interruptible (such as Interruptible::notInterruptible).

              Assignee:
              Benety Goh
              Reporter:
              Benety Goh
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: