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