couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit (JIRA)" <j...@apache.org>
Subject [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
Date Fri, 23 Aug 2013 00:27:52 GMT
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

Mime
View raw message