Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1571

Existence of both BucketNotFoundException and BucketDoesNotExistException not consistent with RFC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.2.x
    • 4.1.12
    • None
    • 0

    Description

      In the SDK we are raising BucketDoesNotExistException instead of BucketNotFoundException from the bucket management APIs when an operation requires a bucket to be present. 

      There are some failures in FIT where BucketNotFound is expected instead of BucketDoesNotExistException:

      • BucketManagerTest.dropNonExistentBucket
      • BucketManagerTest.getNonExistentBucket

      Might or might not need an SDK change. If not, we might just need to update the performer and/or driver to handle BucketDoesNotExistException.

      Attachments

        Issue Links

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

          Activity

            People

              jared.casey Jared Casey
              Dimitris.Christodoulou Dimitris Christodoulou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty