From dev-return-6313-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Sep 09 16:15:20 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 91579 invoked from network); 9 Sep 2009 16:15:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Sep 2009 16:15:20 -0000 Received: (qmail 74325 invoked by uid 500); 9 Sep 2009 16:15:20 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 74232 invoked by uid 500); 9 Sep 2009 16:15:19 -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 74221 invoked by uid 99); 9 Sep 2009 16:15:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 16:15:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 16:15:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 86014234C044 for ; Wed, 9 Sep 2009 09:14:57 -0700 (PDT) Message-ID: <905879337.1252512897534.JavaMail.jira@brutus> Date: Wed, 9 Sep 2009 09:14:57 -0700 (PDT) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Assigned: (COUCHDB-480) Using filter with _changes throws errors if the filter sees a deleted document In-Reply-To: <988909283.1250894775170.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Kocoloski reassigned COUCHDB-480: -------------------------------------- Assignee: Adam Kocoloski > Using filter with _changes throws errors if the filter sees a deleted document > ------------------------------------------------------------------------------ > > Key: COUCHDB-480 > URL: https://issues.apache.org/jira/browse/COUCHDB-480 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Environment: OS X 10.5.5, Erlang R13B01 (5.7.2) > Reporter: Joseph Kocherhans > Assignee: Adam Kocoloski > Attachments: change-filter-test.js > > > The following error seems to happen if _changes is called with a filter function, and a doc that should be in _changes has been deleted. It looks like the error happens when the original rev that was deleted is processed. > [error] [<0.9124.0>] Uncaught error in HTTP request: {error,{badmatch,{not_found,deleted}}} > [info] [<0.9124.0>] Stacktrace: [{couch_httpd_db,'-make_filter_funs/2-fun-2-',4}, > {couch_httpd_db,'-changes_enumerator/2-lc$^2/1-0-',2}, > {couch_httpd_db,changes_enumerator,2}, > {couch_btree,stream_kv_node2,7}, > {couch_btree,fold,5}, > {couch_httpd_db,send_changes,6}, > {couch_httpd_db,handle_changes_req,2}, > {couch_httpd_db,do_db_req,2}] > [debug] [<0.9124.0>] httpd 500 error response: > {"error":"badmatch","reason":"{not_found,deleted}"} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.