[ https://issues.apache.org/jira/browse/COUCHDB-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson closed COUCHDB-874. --------------------------------- Resolution: Not A Problem After discussion on #couchdb, it turns out this behavior is by design, to allow conflict resolution while replicating. > Creating->deleting->creating a document produces a deleted conflict. > -------------------------------------------------------------------- > > Key: COUCHDB-874 > URL: https://issues.apache.org/jira/browse/COUCHDB-874 > Project: CouchDB > Issue Type: Bug > Affects Versions: 0.10, 0.12, 1.0.1 > Environment: Ubuntu 10.04 (64-bit) and CouchDB 0.10 > Reporter: Christian Siegert > > Creating a document, deleting it and creating it again with the same id but different content produces a deleted conflict. The code below reproduces the behavior. > #!/bin/sh > # No deleted conflict > URL="http://localhost:5984/db" > curl -X DELETE $URL > curl -X PUT $URL > curl -X PUT -d '{}' $URL/doc > curl -X DELETE $URL/doc?rev=1-967a00dff5e02add41819138abb3284d > curl $URL/doc > curl -X PUT -d '{}' $URL/doc > curl $URL/doc?meta=true > #!/bin/sh > # deleted conflict > URL="http://localhost:5984/db" > curl -X DELETE $URL > curl -X PUT $URL > curl -X PUT -d '{}' $URL/doc > curl -X DELETE $URL/doc?rev=1-967a00dff5e02add41819138abb3284d > curl $URL/doc > curl -X PUT -d '{"foo":"bar"}' $URL/doc > curl $URL/doc?meta=true -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.