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

Expose per-node config timeout

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Critical
    • 2.0.0-dp1
    • None
    • library
    • Security Level: Public
    • None
    • 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

          People

            mnunberg Mark Nunberg (Inactive)
            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