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

Support Ephemeral Bucket Changes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.2
    • Component/s: None
    • Labels:

      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

            Hide
            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.

            Show
            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.
            Hide
            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.

            Show
            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.
            Hide
            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.

            Show
            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.
            Hide
            avsej Sergey Avseyev added a comment -

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

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

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

            Show
            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

              • Assignee:
                avsej Sergey Avseyev
                Reporter:
                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

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.