Re: tcp-check expect with exclamation mark

2018-06-22 Thread Dmitriy Kuzmin
t; to “info replication”. >>> >> >> ​Is this _exactly_ what is returned? >> ​ >> >>> If this string is found then backend should be marked as down. >>> >>> I’m trying to use “tcp-check expect ! string” (with exclamation mark >>> [!

Re: tcp-check expect with exclamation mark

2018-06-21 Thread Baptiste
ned? > ​ > >> If this string is found then backend should be marked as down. >> >> I’m trying to use “tcp-check expect ! string” (with exclamation mark [!]) >> to get this working, but backends are permanently down regardless of sync >> status. >> During

Re: tcp-check expect with exclamation mark

2018-06-21 Thread Igor Cicimov
ter. > The idea is to look for a string “master_sync_in_progress:1” in response > to “info replication”. > ​Is this _exactly_ what is returned? ​ > If this string is found then backend should be marked as down. > > I’m trying to use “tcp-check expect ! string” (with exclamatio

tcp-check expect with exclamation mark

2018-06-20 Thread Dmitriy Kuzmin
”. If this string is found then backend should be marked as down. I’m trying to use “tcp-check expect ! string” (with exclamation mark [!]) to get this working, but backends are permanently down regardless of sync status. During sync (slave’s response contains “master_sync_in_progress:1”) health check