incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (COUCHDB-480) Using filter with _changes throws errors if the filter sees a deleted document
Date Wed, 09 Sep 2009 16:14:57 GMT

     [ 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.


Mime
View raw message