Am 13.10.15 um 16:45 schrieb Lev Stipakov: > When server exits / restarts (gets SIGUSR1, SIGTERM, SIGHUP, SIGINT) and > explicit-exit-notify is set, server sends RESTART control channel command to > all clients and reschedules received signal in 2 secs. > > When client receives RESTART command, it either reconnects to the same server > or > advances to the new one, depends on parameter comes with RESTART > command - behavior is controlled by explicit-exit-notify in the server config. > > v3: > - Use control channel "RESTART" command instead of new OCC code to > notify clients > - Configure on the server side (by value of explicit-exit-notify) if > client should reconnect to the same server or advance to the next one > - Fix compilation when OCC is disabled (--enable-small) > - Update man page > > This gets an ACK from me. As additional note, we should add a follow up that a server shutting down should not accept new clients. My client reconnects in the 2s shutdown interval.
Arne