Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

creating a new document with an ID that used to belong to a now-deleted document fails with a conflict error #202

Closed
jchris opened this Issue · 1 comment

2 participants

@jchris
Owner

Currently if you delete a document (via PUT with _deleted : true) the rev lingers, making creation of a subsequent document with the same id impossible (unless you happen to know the rev of the deleted version, as is returned in the response to the PUT)

Things seem to work OK if you delete a document using HTTP's delete method.

@snej
Owner

I think the bug you're talking about only happens if you re-create the doc using the exact same contents as the former first revision (so it gets the same revID.) That's #205 (I filed a new bug because I didn't see that this one describes the same problem.)

@snej snej closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.