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

replace OperationContext with Interruptible in FailPoint API

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 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

      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@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: