You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Chris Anderson (JIRA)" <ji...@apache.org> on 2009/07/29 02:41:14 UTC
[jira] Commented: (COUCHDB-434) 500 error when working with deleted
bulk docs
[ https://issues.apache.org/jira/browse/COUCHDB-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12736387#action_12736387 ]
Chris Anderson commented on COUCHDB-434:
----------------------------------------
relevant log output:
[error] [<0.1898.0>] Uncaught error in HTTP request: {error,{badmatch,error}}
[info] [<0.1898.0>] Stacktrace: [{couch_db,'-update_docs/4-fun-4-',2},
{lists,map,2},
{couch_db,update_docs,4},
{couch_httpd_db,db_req,2},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request,5},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]
> 500 error when working with deleted bulk docs
> ---------------------------------------------
>
> Key: COUCHDB-434
> URL: https://issues.apache.org/jira/browse/COUCHDB-434
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Reporter: Mark Hammond
> Attachments: bulk_save_500.patch, bulk_save_500.patch
>
>
> When upgrading our app from 0.9 to trunk, I encountered a 500 error attempting to update previously deleted documents. I've hacked together a patch to the test suite which demonstrates an almost identical error, but note:
> * The test code is misplaced due to that test otherwise failing for me when attempting to compact. It should go either at the end of the test, or into its own test.
> * As the comments note, the attempt to delete the documents appears to fail with conflict errors - which it probably shouldn't.
> * If you ignore these conflicts (as the test does), the next attempt to 'resurrect' these docs causes a 500 error with a badmatch exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.