BUG/MEDIUM: checks: tracking servers must not inherit the MAINT flag

If a server is disabled in configuration and another one tracks it,
this last one must not inherit the MAINT flag otherwise it needs to
be explicitly enabled afterwards. Just remove this to fix the issue.
This commit is contained in:
Willy Tarreau 2013-12-14 16:16:01 +01:00
parent bb9665e649
commit 566226b9d7
1 changed files with 0 additions and 2 deletions

View File

@ -7038,8 +7038,6 @@ int check_config_validity()
/* if the other server is forced disabled, we have to do the same here */
if (srv->state & SRV_MAINTAIN) {
newsrv->state |= SRV_MAINTAIN;
newsrv->check.state |= CHK_ST_PAUSED;
newsrv->state &= ~SRV_RUNNING;
newsrv->check.health = 0;
newsrv->agent.health = 0;