Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-517

Include additional Limitations of Server Side JavaScript

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • v1.1
    • mongodb-2.2
    • manual
    • None

    Description

      The current doc page (http://www.mongodb.org/display/DOCS/Server-side+Code+Execution) mentions that you cannot use write operations with $eval, but it does not mention that you should not use any features that requires the Javascript engines - for example, $eval, $where, map reduce.

      Not sure if this is also the case for our V8 engine, but to use the Spider Monkey engine, the global Spider Monkey lock must be acquired. This means that the server will get into a dead lock if you try to call any features that uses the javascript engine.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 1 week, 1 day ago