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

Enable interruptions in JS

    XMLWordPrintableJSON

Details

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

    Description

      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

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: