couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Kocherhans (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COUCHDB-480) Using filter with _changes throws errors if the filter sees a deleted document
Date Fri, 28 Aug 2009 17:04:32 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joseph Kocherhans resolved COUCHDB-480.
---------------------------------------

    Resolution: Fixed

This was resolved in r808574

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