How is it possible to switch a persistent connection? It's impossible by
design of any persistent protocol unless fallback mechanism is supplied
by the programmers.
BRG,
Andrew
Dawid Sieradzki / Gadu-Gadu S.A. wrote:
Hi,
Mysql persistent tcp balance problem.
MYSQL CLIENT ---- [CONN A] ----> LB TCP ---- [CONN B] ----> MYSQL DAEMON
When we did error on MYSQL daemon site (CONN B - BACKEND IS MARKED AS
DOWN), haproxy will switch new connection to another mysql daemon.
But current connections (CONN A) stay on broken line (CONN B)
The question is how to switch current mysql client connections hanged on
haproxy to new MYSQL backend ?
Greetings