Re: tcp-check expect with exclamation mark

2018-06-22 Thread Dmitriy Kuzmin
2018-06-22 1:13 GMT+10:00 Baptiste : > > > On Thu, Jun 21, 2018 at 8:53 AM, Igor Cicimov com> wrote: > >> Hi Dmitriy, >> >> On Thu, Jun 21, 2018 at 12:45 PM, Dmitriy Kuzmin >> wrote: >> >>> Greetings >>> >>> I’m using haproxy to load balance readonly queries between redis slaves. >>> I want to u

Re: tcp-check expect with exclamation mark

2018-06-21 Thread Baptiste
On Thu, Jun 21, 2018 at 8:53 AM, Igor Cicimov < ig...@encompasscorporation.com> wrote: > Hi Dmitriy, > > On Thu, Jun 21, 2018 at 12:45 PM, Dmitriy Kuzmin > wrote: > >> Greetings >> >> I’m using haproxy to load balance readonly queries between redis slaves. >> I want to use health check system to

Re: tcp-check expect with exclamation mark

2018-06-20 Thread Igor Cicimov
Hi Dmitriy, On Thu, Jun 21, 2018 at 12:45 PM, Dmitriy Kuzmin wrote: > Greetings > > I’m using haproxy to load balance readonly queries between redis slaves. > I want to use health check system to exclude slaves from load balancing, > that are in a process of sync with master. > The idea is to lo

tcp-check expect with exclamation mark

2018-06-20 Thread Dmitriy Kuzmin
Greetings I’m using haproxy to load balance readonly queries between redis slaves. I want to use health check system to exclude slaves from load balancing, that are in a process of sync with master. The idea is to look for a string “master_sync_in_progress:1” in response to “info replication”. If