The branch, 1.13 has been updated via ba94cccca0a9ccad7c1de0939e74f0163ae41102 (commit) from 33a1661443d90ff4e72c219560a8c6a69c679bb5 (commit)
http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=1.13 - Log ----------------------------------------------------------------- commit ba94cccca0a9ccad7c1de0939e74f0163ae41102 Author: Ronnie Sahlberg <ronniesahlb...@gmail.com> Date: Wed May 30 11:50:13 2012 +1000 Run the shutdown eventscript before we tear down the transport This allows eventscripts to still be able to call and use ctdb during the shutdown phase. ----------------------------------------------------------------------- Summary of changes: server/ctdb_control.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/server/ctdb_control.c b/server/ctdb_control.c index 2a16a23..3268877 100644 --- a/server/ctdb_control.c +++ b/server/ctdb_control.c @@ -323,10 +323,10 @@ static int32_t ctdb_control_dispatch(struct ctdb_context *ctdb, ctdb_stop_keepalive(ctdb); ctdb_stop_monitoring(ctdb); ctdb_release_all_ips(ctdb); + ctdb_event_script(ctdb, CTDB_EVENT_SHUTDOWN); if (ctdb->methods != NULL) { ctdb->methods->shutdown(ctdb); } - ctdb_event_script(ctdb, CTDB_EVENT_SHUTDOWN); exit(0); case CTDB_CONTROL_TAKEOVER_IPv4: -- CTDB repository