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

ImplScope should check interruptability against an opctx

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.10, 3.3.11
    • JavaScript
    • Fully Compatible
    • ALL
    • Platforms 18 (08/05/16), Platforms 2016-08-26
    • 0

    Description

      The implscope currently get's a kill flag set which it uses to detect interruptions. This seems to be a bit racy, in that we've managed to miss interrupts historically (and may be in some narrow races today). It would be less complicated and more durable if we just access the opctx and check for interruptions in the interrupt callback for spidermonkey. This will prevent any long running javascript operation from ever missing a killop.

      Attachments

        Activity

          People

            matt.cotter Matt Cotter
            jason.carey@mongodb.com Jason Carey
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: