[ 
https://issues.apache.org/jira/browse/COUCHDB-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Newson updated COUCHDB-576:
----------------------------------

    Attachment: safer_database_deletes.patch

seq is optional to preserve compatibility. Leaving off ?seq=N will drop the 
database unilaterally. If it is present, it must match the current update_seq 
to succeed.

> Require current update_seq when deleting a database for extra safety.
> ---------------------------------------------------------------------
>
>                 Key: COUCHDB-576
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-576
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>            Reporter: Robert Newson
>         Attachments: safer_database_deletes.patch
>
>
> Require the current update_seq before deleting a database to prevent 
> accidental deletion.
> DELETE /db2?seq=12

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to