]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-scripts: Drop "recovered" event from 91.lvs
authorMartin Schwenke <martin@meltin.net>
Thu, 14 Apr 2016 06:26:39 +0000 (16:26 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 15 Apr 2016 03:57:17 +0000 (05:57 +0200)
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>
ctdb/config/events.d/91.lvs

index 67c48be08b65f47c9e7d277eb6fe2ebc36168ae1..b42d62cc82510bb5577ced79c1e973173b1cd2c1 100755 (executable)
@@ -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