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

Require predicates with OperationContext::waitForConditionOrInterrupt()

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1, 4.2.2
    • None
    • 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

        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: