Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: None
-
Component/s: library
-
Labels:None
-
Environment:All development platforms
Description
Need to be able to specify more than one possible URL for connection and pass that in when creating a new couchbase client, to avoid failure to connect if node is down.
Workaround sample code needed too in interim. Could follow PHP model:
while (!client)
...attempt connection from URLs in array
Workaround sample code needed too in interim. Could follow PHP model:
while (!client)
...attempt connection from URLs in array
<servers bucket="private" bucketPassword="private">
<add uri="http://10.0.0.33:8091/pools/default"/>
<add uri="http://10.0.0.34:8091/pools/default"/>
</servers>