Bucket disconnected


Assume that my network is down for couple of sec/min and after that it is up again. Does the java client knows to reconnect or will get some exception and will have to reconnect my cluster and bucket?

Yes, the java client is supposed to reconnect to the node with a increasing back-off. It will only stop doing so if it is instructed with a new configuration that the node has left the cluster.

Is that what you’ve expected or did you experience something else?

This is the behavior I expected, in version prior 2.x it didn’t work so well. I will check it now with 2.x and see


Hm, it should work there well too. Have you tried the latest 1.4 and/or can you share what happened?

Currently I can’t share :frowning:
But maybe I will after running tests again with latest client.

Another question is:
My couchbase connection is initialized by a spring bean init method, in case couchbase cluster is down from some reason, I want my service to go up and periodically to check the status of couchbase and connect if available.

Are you familiar with such cases?