You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Paul Joseph Davis (Commented) (JIRA)" <ji...@apache.org> on 2011/12/13 02:47:30 UTC
[jira] [Commented] (COUCHDB-282) Abort views that have exceptions
in the view server
[ https://issues.apache.org/jira/browse/COUCHDB-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168048#comment-13168048 ]
Paul Joseph Davis commented on COUCHDB-282:
-------------------------------------------
Good call on the distinction between compile time and runtime syntax errors.
Also, am I the only person that just got slammed in the forehead with awesome ideas on eval'ing javascript on documents in the view engine? I mean, that's kinda dirty, but sounds like something that could be useful scenarios.
> Abort views that have exceptions in the view server
> ---------------------------------------------------
>
> Key: COUCHDB-282
> URL: https://issues.apache.org/jira/browse/COUCHDB-282
> Project: CouchDB
> Issue Type: Bug
> Components: JavaScript View Server
> Affects Versions: 0.8, 0.8.1
> Environment: All
> Reporter: kowsik
>
> I'm incrementally experimenting with new views on a 100K document db. If there's a typo in the javascript view or some other exception, there's a spew of logs in couch.log while each of the couch documents continue to go through the map/reduce code (which is buggy). This takes about 15 minutes before I can update the view and re-query again. It would be awesome if couch can handle exceptions in the view server and stop processing so that the fix can be made.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira