Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-2306

Deleting nonexistent bucket returns "OK"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.6.5
    • 1.6.0 beta4
    • RESTful-APIs
    • None
    • Operating System: All
      Platform: All

    Description

      Following the REST documentation (http://github.com/northscale/ns_server/blob/master/deps/menelaus/doc/API/index.markdown) the delete bucket operation always returns OK even if the bucket doesn't actually exist.

      [perry@Membase1 ~]$ curl -i -u Administrator:norths -X DELETE http://10.1.5.7:8080/pools/default/buckets/test
      HTTP/1.1 200 OK
      Server: NorthScale Server 1.6.0beta4
      Pragma: no-cache
      Date: Tue, 28 Sep 2010 18:30:22 GMT
      Content-Length: 0
      Cache-Control: no-cache no-store max-age=0

      [perry@Membase1 ~]$ curl -i -u Administrator:norths -X DELETE http://10.1.5.7:8080/pools/default/buckets/test
      HTTP/1.1 200 OK
      Server: NorthScale Server 1.6.0beta4
      Pragma: no-cache
      Date: Tue, 28 Sep 2010 18:30:23 GMT
      Content-Length: 0
      Cache-Control: no-cache no-store max-age=0

      [perry@Membase1 ~]$

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alkondratenko Aleksey Kondratenko (Inactive)
              perry Perry Krug
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty