ctdb: let "moveip" end with CTDB_CONTROL_IPREALLOCATED to all connected nodes
authorStefan Metzmacher <metze@samba.org>
Fri, 24 Nov 2023 09:53:44 +0000 (10:53 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 9 Jan 2024 10:08:20 +0000 (11:08 +0100)
commit767501504a5fc354a78fda65813ef1b6b7d2a195
treed96763ab5030f6a1904ab5fcb7f99f62fdf56924
parenta57d0e2fbd077eb2ef780829eb7655f7235da1e9
ctdb: let "moveip" end with CTDB_CONTROL_IPREALLOCATED to all connected nodes

This matches the behavior of takeover_send/recv() from
ctdb_takeover_helper.c.

It means we consistently call the ipreallocated event scripts
and also send CTDB_SRVID_IPREALLOCATED after moving ips.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 589ebabc95eef0c301a47696e82c0ac341027597)
ctdb/tools/ctdb.c