[
https://issues.apache.org/jira/browse/COUCHDB-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit updated COUCHDB-1878:
---------------------------
Description:
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
was:
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
> 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":"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