Question for connection timeout

Somewhere, I read that if you have 3 nodes on the cluster and the automatic failover, the java client will try again using the rest of nodes. I made the configuration with 3 nodes, and again when I shutdown one of the nodes, I am getting the following exception : com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight.

My behaviour expectation is not to receive any exception during CRUD operation and the system to continue to work with one less node. Later, the admin will reconnnect the lost node on the cluster and rebalance it.

So, what kind of configuration I need to setup on the couchbase environment, so the client do not return any exception in case of lost node ( on 3 node cluster configuration) ???

1 Like