You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/21 17:12:04 UTC
[jira] [Commented] (COUCHDB-2819) Repeated DB creates for same DB
unnecessarily spam couch_server
[ https://issues.apache.org/jira/browse/COUCHDB-2819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14900798#comment-14900798 ]
ASF GitHub Bot commented on COUCHDB-2819:
-----------------------------------------
GitHub user smithsz opened a pull request:
https://github.com/apache/couchdb-fabric/pull/30
Check if a DB exists prior to creating
COUCHDB-2819
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/smithsz/couchdb-fabric 2819-db-create-check-already-exists
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fabric/pull/30.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #30
----
commit a9b77c071ea2280a036e8fe14e3e678d46ed1744
Author: Sam Smith <sa...@cloudant.com>
Date: 2015-09-21T15:05:16Z
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)