We are using couchbase trying out couchbase but now we are facing two problems regarding fallbacks/failover and we need some support here.
We are using the following setup:
3 couchbase machines with the replication factor of 2.
Version 4.5.0-2601 Enterprise Edition (build-2601).
libcouchbase runtime version 2.6.3
libcouchbase headers version 2.6.1
how can i read the information from one replica? We are using the follow code but the “getFromReplica” method returns nothing (and we don’t see any activity in the couchbase web interface regarding the get).
$cluster = new CouchbaseCluster(‘couchbase://127.0.0.1’);
$bucket = $cluster->openBucket(‘default’);
$key = ‘testKey’;
We are getting timeouts from the cluster if one replica is down until auto fail-over removes the node, is this normal? can we avoid this?
HoP from the Jumia Mall team