couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-282) Abort views that have exceptions in the view server
Date Tue, 13 Dec 2011 01:47:30 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message