Hi Mark, On Sun, Feb 16, 2014 at 01:27:18PM +0100, Mark Ruys wrote: > So far, I have one observation: > > > To switch back to the "active" backend : > > # echo "clear table passive" | socat stdio /var/run/haproxy.sock > > Although the table is declared with peer stickiness (stick-table type integer > size 1 peers LB), clearing the table does not propagate to the other peers. > So you have to clear the tables on all peers by hand. If this is not a bug, > then I would call it a feature request :)
Stick tables are only synchronized on updates. Clearing or inserting values from the CLI are not updates but what I'd call local maintenance. In practice however, if you clear one LB's entry, the next time it'll get a request, it will load balance it, update the table and propagate the update. Also, if you're running with automatic expiration after a certain delay, both of your LB's tables will expire after inactivity. Regards, Willy

