ctdb: send a CTDB_SRVID_IPREALLOCATED message after CTDB_EVENT_IPREALLOCATED
commitb1d0d5d51422f377c2e989ea6dacb2aa5794082b
authorStefan Metzmacher <metze@samba.org>
Thu, 23 Nov 2023 14:04:09 +0000 (23 15:04 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 4 Jan 2024 11:39:36 +0000 (4 11:39 +0000)
treee016821b5a3b4bd7c383872850530772595ae3bf
parent1134c4f3a63c9618c3fb79abefb40a798c7c1701
ctdb: send a CTDB_SRVID_IPREALLOCATED message after CTDB_EVENT_IPREALLOCATED

Event scripts run the "ipreallocated" hook in order to notice that some ip addresses
in the cluster potentially changed.

CTDB_SRVID_IPREALLOCATED gives C code a chance to get notified as well once the event
scripts are finished.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/protocol/protocol.h
ctdb/protocol/protocol_debug.c
ctdb/protocol/protocol_message.c
ctdb/server/ctdb_takeover.c