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

ImplScope should check interruptability against an opctx

    • Fully Compatible
    • ALL
    • Platforms 18 (08/05/16), Platforms 2016-08-26
    • 0

      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.

            Assignee:
            matt.cotter Matt Cotter
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: