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

Implement wait objects that support operation interruption/expiration

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.10
    • Internal Code
    • None
    • Fully Compatible
    • Sharding 16 (06/24/16), Sharding 17 (07/15/16)
    • 0

    Description

      Operations running in MongoDB often have soft time limits and all are intended to be interruptible at certain interruption points. Today, this is done in an ad hoc manner using bare std::condition_variable to wait for application events. Checking for interruption or the expiration of the maxTimeMs time limit is done on an ad hoc basis, and sometimes omitted.

      This task is to build new condition variable wait methods that take an OperationContext, and support operation killing and maxTime expiration.

      Attachments

        Issue Links

          Activity

            People

              schwerin@mongodb.com Andy Schwerin
              schwerin@mongodb.com Andy Schwerin
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: