diff options
| author | Vinit Agnihotri <vagnihotri@ddn.com> | 2024-02-27 00:13:57 -0800 |
|---|---|---|
| committer | Volker Lendecke <vl@samba.org> | 2024-03-06 06:05:38 +0000 |
| commit | 7dacbcd0ec79a3a2198aebc43040d2693375adcf (patch) | |
| tree | 6a00b2899536531982161520d096e01c792ce29e /ctdb/protocol/protocol_debug.c | |
| parent | 2483a2ae209c86b441fb4763cd595cb9254e5382 (diff) | |
| download | samba-7dacbcd0ec79a3a2198aebc43040d2693375adcf.tar.gz samba-7dacbcd0ec79a3a2198aebc43040d2693375adcf.tar.bz2 samba-7dacbcd0ec79a3a2198aebc43040d2693375adcf.zip | |
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>
Diffstat (limited to 'ctdb/protocol/protocol_debug.c')
| -rw-r--r-- | ctdb/protocol/protocol_debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/protocol/protocol_debug.c b/ctdb/protocol/protocol_debug.c index 3a4b09f6bb4..cfa8b47672d 100644 --- a/ctdb/protocol/protocol_debug.c +++ b/ctdb/protocol/protocol_debug.c @@ -304,6 +304,8 @@ static void ctdb_srvid_print(uint64_t srvid, FILE *fp) fprintf(fp, "TAKE_IP"); } else if (srvid == CTDB_SRVID_IPREALLOCATED) { fprintf(fp, "IPREALLOCATED"); + } else if (srvid == CTDB_SRVID_START_IPREALLOCATE) { + fprintf(fp, "START_IPREALLOCATE"); } else if (srvid == CTDB_SRVID_SET_NODE_FLAGS) { fprintf(fp, "SET_NODE_FLAGS"); } else if (srvid == CTDB_SRVID_RECD_UPDATE_IP) { |
