diff options
| author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-07-17 12:26:16 +1000 |
|---|---|---|
| committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-07-17 12:26:16 +1000 |
| commit | e5e9fc48b1b446392965472bc4eb3755eb2ddefd (patch) | |
| tree | 14cf96aa2aa606e6f9d178d2b71028f46de8f069 /ctdb/include | |
| parent | df00979158acef1a19598495ccf023c33906061f (diff) | |
| download | samba-e5e9fc48b1b446392965472bc4eb3755eb2ddefd.tar.gz samba-e5e9fc48b1b446392965472bc4eb3755eb2ddefd.tar.xz samba-e5e9fc48b1b446392965472bc4eb3755eb2ddefd.zip | |
create a new event : stopped.
This event is called when a node is stopped and is used by eventscripts that need to do certain cleanup and removal of configuration or ip addresses or routing ...
Note that a STOPPED node is considered "inactive" and as such will not be running the "recovered" event when the rest of the cluster has recovered.
(This used to be ctdb commit 65e9309564611bf937ded3c74a79abff895d7c59)
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 25595cffa4..9750552c1f 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1445,7 +1445,7 @@ int32_t ctdb_control_get_event_script_status(struct ctdb_context *ctdb, TDB_DATA int ctdb_log_event_script_output(struct ctdb_context *ctdb, char *str, uint16_t len); int ctdb_ctrl_report_recd_lock_latency(struct ctdb_context *ctdb, struct timeval timeout, double latency); -int32_t ctdb_control_stop_node(struct ctdb_context *ctdb); +int32_t ctdb_control_stop_node(struct ctdb_context *ctdb, struct ctdb_req_control *c, bool *async_reply); int32_t ctdb_control_continue_node(struct ctdb_context *ctdb); #endif |
