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

ImplScope should check interruptability against an opctx

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.10, 3.3.11
    • Component/s: JavaScript
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      Platforms 18 (08/05/16), Platforms 2016-08-26
    • Linked BF Score:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: