You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Chris Anderson (JIRA)" <ji...@apache.org> on 2009/03/06 23:53:56 UTC

[jira] Updated: (COUCHDB-103) Document sealing no longer works with Mozilla spidermonkey 1.8

     [ https://issues.apache.org/jira/browse/COUCHDB-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Anderson updated COUCHDB-103:
-----------------------------------

    Fix Version/s:     (was: 0.8.1)
                   0.9

> Document sealing no longer works with Mozilla spidermonkey 1.8
> --------------------------------------------------------------
>
>                 Key: COUCHDB-103
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-103
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 0.7.2, 0.8
>         Environment: all
>            Reporter: Damien Katz
>            Assignee: Noah Slater
>             Fix For: 0.9
>
>
> In the spidermonkey engine, we use a built-in function sealing for sealing documents so that map functions of arrays no longer works. Array sealing no longer works with javascript 1.8, meaning our document that contain arrays cannot be sealed. The sealing is meant to prevent map functions from modifying the same document that will be passed to other map functions.
> The (hopefully temporary) fix here is to simply remove the document sealing, and map function placed in the same design document will have to be trustworthy that they don't modify the document (the same document is passed to multiple map functions). Non-trustworthy map functions can be placed in their own design documents, they will be run in isolation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.