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

Enable interruptions in JS

    • Query Optimization
    • Fully Compatible
    • Service Arch 2018-12-31

      Enabling periodic interruptions in javascript would allow us to checkForInterrupt without an outside thread (allowing us to detect killop/ socket disconnect without things like the killop listener).

      The main impediment here is that the default interruption mechanism is signal based, and that we make syscalls from javascript which we don't intend to receive eintr.  We can remove that signal handler, but need to measure the performance impact.

      If we don't do something in this space, socket disconnect is killop won't work for javascript

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: