couchdb-dev mailing list archives

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


Randall Leeds closed COUCHDB-282.

    Resolution: Won't Fix

I'm closing this as "Won't Fix" because, while it's possible to catch syntax errors when compiling
the view functions, it's not easy to know whether a syntax error may have been thrown by a
user calling "eval" or something else tricky.

In other words, it's hard to disambiguate between errors caused by the view code and errors
caused by the input data.

Also, this hasn't been updated in a long time.
> 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