ctdb-daemon: Do not process tickle updates for hosted IP addresses
authorMartin Schwenke <martin@meltin.net>
Fri, 27 Mar 2015 04:30:16 +0000 (15:30 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 4 Dec 2015 08:17:17 +0000 (09:17 +0100)
commit473f1a77e1791cbe3a079ba7b20dd85a1797ee61
treef4ee9fe87f3753886b38073ad4ab5d922d7f5276
parent80c05114210ac78841a34a0e44765166f1501364
ctdb-daemon: Do not process tickle updates for hosted IP addresses

Tickle list updates are broadcast to all connected nodes and are
accepted even when received on the same node that sent them.  This
could actually lead to lost connection information when information
about new connections is received while an update is in-flight.

Instead, return early when the IP is hosted on the current node, since
it is the only one that could have sent the update.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_takeover.c