Hi,
We are currently using proxy version 4.1.0
And we are facing a issue which is described below,
1. Register the nodes in LoadBalancingInterceptor
2. The request is redirected correctly.
3. When the registered nodes(say node#1) go down intermittently, the request is redirected to other nodes (Failover)
4. When the node#1 comes back again, the requests are not rerouted to that node again.
5. We need a restart of the proxy to make it reroute it again to that node.
While browsing through the java code, I could see a NodeOnlineChecker field newly introduced in the latest version(4.3.0)
Was thinking whether this will solve our issue?
If not, can you let us know what we are missing in our code for the LBI.
Code snippet as below,
balancer.setClusters(new ArrayList<Cluster>(clusterMap.values()));
loadBalancingInterceptor.setClustersFromSpring(Arrays.asList(balancer));
We were hoping that loadBalancingInterceptor.setNodeOnlineChecker(noc) will keep retrying for the old node which has come up and bring it back alive
without needing a restart.
Let us know your thoughts on this.
Thanks,
Sathish G