Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-442

Support Ephemeral Bucket Changes

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.2
    • None

    Description

      With ephemeral buckets in Couchbase Server Spock, the views service may not be available at all.  This means the configuration will not have that service described so at a minimum we need to test, and possibly should fast-fail view queries.

      Attachments

        Issue Links

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

          Activity

            PHP works with ephemeral buckets transparently through libcouchbase. It cannot fail fast as bucket type is not discoverable from the connection handle.

            avsej Sergey Avseyev added a comment - PHP works with ephemeral buckets transparently through libcouchbase. It cannot fail fast as bucket type is not discoverable from the connection handle.

            I had them change the server side response so we could determine that it's ephemeral. So, I know fast fail is possible, just not sure if it needs to be done at the lcb level or the PHP level.

            ingenthr Matt Ingenthron added a comment - I had them change the server side response so we could determine that it's ephemeral. So, I know fast fail is possible, just not sure if it needs to be done at the lcb level or the PHP level.

            So the initial goal was to help people understand why their View request does not work, not to save bytes by not sending request? In this case improved response looks like better solution.

            avsej Sergey Avseyev added a comment - So the initial goal was to help people understand why their View request does not work, not to save bytes by not sending request? In this case improved response looks like better solution.

             [SDK Meeting, 2017-05-17] The decision is to implement fast fail on the libcouchbase side

            avsej Sergey Avseyev added a comment -   [SDK Meeting, 2017-05-17] The decision is to implement fast fail on the libcouchbase side

            Libcouchbase allows to detect type of the bucket, so fast failure should be implemented on PHP extension side

            avsej Sergey Avseyev added a comment - Libcouchbase allows to detect type of the bucket, so fast failure should be implemented on PHP extension side

            People

              avsej Sergey Avseyev
              ingenthr Matt Ingenthron
              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