couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COUCHDB-1878) Couchdb silently fails when I try to delete a document using a bulk operation with all_or_nothing set to true and there is a conflict
Date Fri, 23 Aug 2013 10:20:53 GMT

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

Robert Newson resolved COUCHDB-1878.
------------------------------------

    Resolution: Invalid

please reopen if my assessment is incorrect.
                
> Couchdb silently fails when I try to delete a document using a bulk operation with all_or_nothing
set to true and there is a conflict
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-1878
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1878
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Arpit
>
> curl -X POST http://127.0.0.1:5984/db/_bulk_docs -H 'Content-Type: application/json'
-d @update.json
> update.json
> {
>     "all_or_nothing": true,
>     "docs": [
> 	{
>             "_id": "1",
> 			"_rev": "11-91a1192c89eb5f0e4c6ec5fc30d359d8",
> 			"_deleted": true,
>             "text": "asdad"
>         }
> 		]
> }
> It gives [{"ok":true,"id":"1","rev":"12-178cd8c073a6f7a8a9c794da39a461ff"}] but doesnt
delete the document !
> If there's a conflict then this command doesnt delete the doc in db

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message