You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Arpit (JIRA)" <ji...@apache.org> on 2013/08/23 02:27:52 UTC
[jira] [Created] (COUCHDB-1878) Couchdb silently fails when I try
to delete a document using a bulk operation with all_or_nothing set to tru
Arpit created COUCHDB-1878:
------------------------------
Summary: Couchdb silently fails when I try to delete a document using a bulk operation with all_or_nothing set to tru
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":"_design/constraints","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