Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-2819

Repeated DB creates for same DB unnecessarily spam couch_server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Database Core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              smithsz Sam Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: