mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 23:56:57 +02:00
BUG/MEDIUM: checks: a down server going to maint remains definitely stucked on down state.
The new admin state was not correctly commited in this case. Checks were fully disabled but the server was not marked in MAINT state. It results with a server definitely stucked on the DOWN state. This patch should be backported on haproxy 1.8
This commit is contained in:
parent
ece0c334bd
commit
8f29829e24
@ -4623,6 +4623,9 @@ void srv_update_status(struct server *s)
|
||||
free_trash_chunk(tmptrash);
|
||||
tmptrash = NULL;
|
||||
}
|
||||
/* commit new admin status */
|
||||
|
||||
s->cur_admin = s->next_admin;
|
||||
}
|
||||
else { /* server was still running */
|
||||
check->health = 0; /* failure */
|
||||
|
Loading…
Reference in New Issue
Block a user