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

Change in error returned when non-existing bucket used in function creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • 7.1.1, 7.1.2
    • eventing
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      I'm primarily creating this ticket to clarify that this change in behaviour is intended.

      I have a test in my Go SDK test suite (https://github.com/couchbase/gocb/blob/master/cluster_eventingmgr_test.go#L111) which creates an eventing function with a bucket that doesn't exist. In 7.1.0 (and before) I would receive a bucket not found error (strings.Contains(strBody, "ERR_BUCKET_MISSING")), In 7.1.1-3135 I'm receiving a collection not found error (strings.Contains(strBody, "ERR_COLLECTION_MISSING")).

      As an aside, I've just noticed that there are now error codes included in the error bodies - I don't believe that there were previously? Where can we find a list of error codes?

       

      Attachments

        Issue Links

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

          Activity

            People

              ankit.prabhu Ankit Prabhu
              charles.dixon Charles Dixon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty