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

Include additional Limitations of Server Side JavaScript

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • v1.1
    • Affects Version/s: mongodb-2.2
    • Component/s: manual
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved:
              11 years, 12 weeks, 3 days ago