Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
Security Level: Public
-
None
Description
In some recent testing, I found that the client does not skip over the array to find a reachable node. For example when I'm running one on localhost, this fails:
<?php
$hosts = array(
'1.2.3.4',
'127.0.0.1'
);
$client = new Couchbase($hosts, "default", "", "default");
?>
Of course, when I leave out the first one it works. And it works too if I put the localhost before the invalid node.
Here is the libcouchbase error:
Warning: Failed to establish libcouchbase connection to server: Connection failure
Hopefully this should be easy to reproduce!
Attachments
Issue Links
- duplicates
-
CCBC-122 Handle timeout for connecting to a cluster
- Closed