Both the interface IRule's method choose and ILoadBalancer's method chooseServer has only one parameter named key, so I can't choose the server diffrent for a retry.
I try to explain the issue with an example:
We have two Servers (Server A@zone1 and Server B@zone2) and my ribbon configuration is:
MaxAutoRetries=0
MaxAutoRetriesNextServer=1
I customizing the load balancing rule choose the Server A@zone1 allways normally.
How can I choose the Server A@zone2 for a retry?
Best regards!