CouchDB
  1. CouchDB
  2. COUCHDB-407

Add DELETE /_add_dbs?seriously=true

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 0.9
    • Fix Version/s: None
    • Component/s: HTTP Interface
    • Labels:
      None

      Description

      Convenience method to delete all databases on the server.

        Activity

        Hide
        Paul Joseph Davis added a comment -

        I'm -1 on this. I'd close it out of hand right now as won't fix but I'll leave it open for a bit to see if anyone can convince me that its not out of the question.

        Show
        Paul Joseph Davis added a comment - I'm -1 on this. I'd close it out of hand right now as won't fix but I'll leave it open for a bit to see if anyone can convince me that its not out of the question.
        Hide
        Brian Kierstead added a comment -

        I added it because we're generating large numbers (~50k) of DB's and having a convenient way to delete would be nice.

        Show
        Brian Kierstead added a comment - I added it because we're generating large numbers (~50k) of DB's and having a convenient way to delete would be nice.
        Hide
        Paul Joseph Davis added a comment -

        I'm still not convinced. A Python script to do that would be like 10 lines and that could include regular expression filtering and other bells and whistles. Sticking a big red "DON'T PUSH' button out there for all clients to push does not sound like a good idea to me.

        Show
        Paul Joseph Davis added a comment - I'm still not convinced. A Python script to do that would be like 10 lines and that could include regular expression filtering and other bells and whistles. Sticking a big red "DON'T PUSH' button out there for all clients to push does not sound like a good idea to me.
        Hide
        Jan Lehnardt added a comment -

        find /var/lib/couchdb/ | xargs rm -rf

        Show
        Jan Lehnardt added a comment - find /var/lib/couchdb/ | xargs rm -rf

          People

          • Assignee:
            Unassigned
            Reporter:
            Brian Kierstead
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development