Couchbase cluster is having 3 nodes.
We are using java sdk and connecting to couchbase cluster with VIP url. Some times we get timeout exception on specific couch base nodes . I am planning to go with re-try mechanism if there is timeout on the query, but the re-try should go to different node on the cluster.
Example :
node1, node2 , node 3 in cluster1
App sent request to node1 and got the timeout. Now when application is retrying we need to send request to node2 and should not sent to node 1.
Note : I would like to execute N1QL query.
Is this possible ?
Thank you @graham.pople for your reply. Could you please refer to any documentation on how can we do it using REST API, that will be really helpful.