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

Interrupt signal should cause localConnectForDbEval to fail

    • ALL
    • 0

      localConnectForDbEval makes multiple calls to 'exec', without checking whether they succeeded or failed. If an interrupt is triggered, the JS engine will cleanup the scope, causing one of the exec calls to fail. The next call to exec may access cleaned up resources.

      A failing invokation of exec should cause the whole caller to fail.

            Assignee:
            spencer.jackson@mongodb.com Spencer Jackson
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: