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

replace OperationContext with Interruptible in FailPoint API

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 4.7.0
    • None
    • None
    • Fully Compatible
    • Execution Team 2020-05-18, Execution Team 2020-06-01

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              benety.goh@mongodb.com Benety Goh
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: