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

Interrupt signal should cause localConnectForDbEval to fail

    XMLWordPrintable

Details

    • ALL
    • 0

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: