couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-172) updating and deleting the same document with _bulk_docs
Date Sun, 01 Feb 2009 04:58:59 GMT

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

Paul Joseph Davis updated COUCHDB-172:
--------------------------------------

    Attachment: COUCHDB-172.patch

This patch shows that updating and deleting a doc actually does trigger a conflict error.
There's a slight different in that the original patch never edits the doc, dunno if this means
that couchdb is smart enough to not change the rev when there's no update or there was a fix
somewhere else. Either or, patch should demonstrate the reported bug is invalid.

> updating and deleting the same document with _bulk_docs
> -------------------------------------------------------
>
>                 Key: COUCHDB-172
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-172
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.9
>            Reporter: Michael Hendricks
>            Priority: Blocker
>             Fix For: 0.9
>
>         Attachments: 0001-Failing-test-for-conflicting-bulk_docs.patch, COUCHDB-172.patch
>
>
> Trying to update and delete the same document with a single _bulk_docs POST should generate
a 412 conflict error, but it does not.  I'll attach a patch shortly which includes a failing
test.  See also mid:20081203163944.GW13753@ginosko.local and the ensuing thread on couchdb-dev.

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