Dmitriy, yes, that's what I'm implementing as part of IGNITE-7282: * List of hosts in config * Pick random index (basic load balancing), connect * When connection is lost, all current requests throw an exception * Next request causes reconnect attempt to the next host * If all hosts fail, throw exception
On Fri, Feb 2, 2018 at 12:44 AM, Dmitriy Setrakyan <dsetrak...@apache.org> wrote: > On Thu, Feb 1, 2018 at 5:55 AM, Pavel Tupitsyn <ptupit...@apache.org> > wrote: > > > Ok, let's add simple reconnect logic and see what will come of it. > > > > Just to clarify, a list of IP addresses a client should connect to needs to > be provided on startup. Once a connection is lost, a client needs to try to > connect to all other IPs in the list before failing. Agree, this should be > fairly simple to implement. >