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

Require predicates with OperationContext::waitForConditionOrInterrupt()

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1, 4.2.2
    • None
    • None
    • Fully Compatible
    • v4.2
    • Service Arch 2019-10-21

    Description

      There are a select few places where we use OperationContext::waitForConditionOrInterrupt() without predicates. I'd like all invocations to use predicates. It is i) easier to reason about for devs, ii) simpler to phrase as an API set, iii) empowers more sophisticated behaviors within Interruptibles.

      Attachments

        Issue Links

          Activity

            People

              ben.caimano@mongodb.com Benjamin Caimano (Inactive)
              ben.caimano@mongodb.com Benjamin Caimano (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: