Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B6D49903 for ; Tue, 13 Dec 2011 01:10:00 +0000 (UTC) Received: (qmail 70547 invoked by uid 500); 13 Dec 2011 01:09:59 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 70508 invoked by uid 500); 13 Dec 2011 01:09:59 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 70500 invoked by uid 99); 13 Dec 2011 01:09:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 01:09:59 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 01:09:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8949F10F299 for ; Tue, 13 Dec 2011 01:09:30 +0000 (UTC) Date: Tue, 13 Dec 2011 01:09:30 +0000 (UTC) From: "Randall Leeds (Closed) (JIRA)" To: dev@couchdb.apache.org Message-ID: <1925322548.3783.1323738570563.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (COUCHDB-282) Abort views that have exceptions in the view server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] 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: 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