1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-scripts: Drop "recovered" event from 91.lvs

Having both "recovered" and "ipreallocated" means that everything
happens twice when there is a recovery.  No need for that.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2016-04-14 16:26:39 +10:00 committed by Amitay Isaacs
parent a0ef57fe84
commit 39cbe07ef0

View File

@ -39,7 +39,7 @@ case "$1" in
flush_route_cache
;;
recovered|ipreallocated)
ipreallocated)
# kill off any tcp connections
ipvsadm -D -t $CTDB_LVS_PUBLIC_IP:0 >/dev/null 2>&1
ipvsadm -D -u $CTDB_LVS_PUBLIC_IP:0 >/dev/null 2>&1