[ 
https://issues.apache.org/jira/browse/COUCHDB-2819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902543#comment-14902543
 ] 

ASF subversion and git services commented on COUCHDB-2819:
----------------------------------------------------------

Commit 61fbb94b9f7f59c34483c092ecc39bd3a63155e2 in couchdb-fabric's branch 
refs/heads/master from [~bbatman]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-fabric.git;h=61fbb94 ]

Check if a DB exists prior to creating

COUCHDB-2819


> Repeated DB creates for same DB unnecessarily spam couch_server
> ---------------------------------------------------------------
>
>                 Key: COUCHDB-2819
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2819
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>            Reporter: Sam Smith
>            Priority: Minor
>
> When bad clients make multiple requests to create the same DB it can overload 
> couch_server.
> CouchDB could better handle this case. It would be relatively cheap to check 
> if a corresponding shard map already exists. If so, this would allow for an 
> early 412 exit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to