]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb: send a CTDB_SRVID_START_IPREALLOCATE message after CTDB_EVENT_START_IPREALLOCATE
authorVinit Agnihotri <vagnihotri@ddn.com>
Tue, 27 Feb 2024 08:13:57 +0000 (00:13 -0800)
committerVolker Lendecke <vl@samba.org>
Wed, 6 Mar 2024 06:05:38 +0000 (06:05 +0000)
commit7dacbcd0ec79a3a2198aebc43040d2693375adcf
tree6a00b2899536531982161520d096e01c792ce29e
parent2483a2ae209c86b441fb4763cd595cb9254e5382
ctdb: send a CTDB_SRVID_START_IPREALLOCATE message after CTDB_EVENT_START_IPREALLOCATE

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

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

Signed-off-by: Vinit Agnihotri <vagnihotri@ddn.com>
Reviewed-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
ctdb/protocol/protocol.h
ctdb/protocol/protocol_debug.c
ctdb/protocol/protocol_message.c
ctdb/server/ctdb_takeover.c