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

Expose per-node config timeout

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-dp1
    • Component/s: library
    • Security Level: Public
    • Labels:
      None
    • Environment:
      PHP 5.3/5.5, PHP Couchbase 1.2 and Libcouchbase 2.2

      Description

      I have three active nodes in my cluster and all three nodes are supplied as an array to new Couchbase.

      If one of those nodes is removed from the cluster completely the client will intermittently fail to establish a connection to the cluster despite there being two remaining nodes available and healthy. It appears that the upon failure an exception is being thrown without couchbase attempting to connect to the other nodes.

      This can be reproduced by providing a made up IP in a list of cluster node IP's.

      There are two errors when I attempt this locally. The main error is an exception:-

      'CouchbaseLibcouchbaseException' with message 'Failed to connect libcouchbase to the server: Protocol error (Failed to bootstrap in time)'

      However it is always preceded by:-

      [warn] event_base_loop: reentrant invocation. Only one event_base_loop can run on each event_base at once.

        Attachments

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

          Activity

          Hide
          brett19 Brett Lawson added a comment -

          Hey Mike,

          I was unfortunately travelling this week and didn't get a chance to take a look at this. I will give you an update before Monday.

          Cheers, Brett

          Show
          brett19 Brett Lawson added a comment - Hey Mike, I was unfortunately travelling this week and didn't get a chance to take a look at this. I will give you an update before Monday. Cheers, Brett
          Hide
          mikehancock Mike Hancock added a comment -

          Cheers Brett, much appreciated

          Show
          mikehancock Mike Hancock added a comment - Cheers Brett, much appreciated
          Hide
          mikehancock Mike Hancock added a comment -

          Hi Brett, Any news?

          Show
          mikehancock Mike Hancock added a comment - Hi Brett, Any news?
          Hide
          brett19 Brett Lawson added a comment -

          Hey Mike,

          Sorry for the delay, this will be available in PHP SDK 2.0.0-dp1 which should be release soon (within the next week or two). I am just finalizing some things with it at the moment.

          Cheers, Brett

          Show
          brett19 Brett Lawson added a comment - Hey Mike, Sorry for the delay, this will be available in PHP SDK 2.0.0-dp1 which should be release soon (within the next week or two). I am just finalizing some things with it at the moment. Cheers, Brett
          Hide
          mikehancock Mike Hancock added a comment - - edited

          Hi Brett,

          Any idea what the holdup on PHP SDK 2.0.0-dp1 is. It still has a release date penned for March but no sign of it yet.

          Cheers

          Mike

          Show
          mikehancock Mike Hancock added a comment - - edited Hi Brett, Any idea what the holdup on PHP SDK 2.0.0-dp1 is. It still has a release date penned for March but no sign of it yet. Cheers Mike

            People

            • Assignee:
              mnunberg Mark Nunberg (Inactive)
              Reporter:
              mikehancock Mike Hancock
            • Votes:
              0 Vote for this issue
              Watchers:
              3 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.