summaryrefslogtreecommitdiffstats
path: root/ctdb/include/ctdb_private.h
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-04-18 20:30:14 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-05-24 14:08:07 +1000
commit6d9667f01ca492b0623b23ea35f612bcc5da893e (patch)
tree658b2918516afdaee10be3ac11cba6a5191a22a0 /ctdb/include/ctdb_private.h
parentb5ebff6931adf0564bb1cbb98a9283382c578564 (diff)
downloadsamba-6d9667f01ca492b0623b23ea35f612bcc5da893e.tar.gz
samba-6d9667f01ca492b0623b23ea35f612bcc5da893e.tar.xz
samba-6d9667f01ca492b0623b23ea35f612bcc5da893e.zip
ctdbd: Add new runstate CTDB_RUNSTATE_FIRST_RECOVERY
This adds more serialisation to the startup, ensuring that the "startup" event runs after everything to do with the first recovery (including the "recovered" event). Given that it now takes longer to get to the "startup" state, the initscript needs to wait until ctdbd gets to "first_recovery". Signed-off-by: Martin Schwenke <martin@meltin.net> Pair-programmed-with: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit ed6814ff0a59ddbb1c1b3128b505380f60d7aeb7)
Diffstat (limited to 'ctdb/include/ctdb_private.h')
-rw-r--r--ctdb/include/ctdb_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 2698785f0be..eadd9637155 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -440,6 +440,7 @@ enum ctdb_runstate {
CTDB_RUNSTATE_UNKNOWN,
CTDB_RUNSTATE_INIT,
CTDB_RUNSTATE_SETUP,
+ CTDB_RUNSTATE_FIRST_RECOVERY,
CTDB_RUNSTATE_STARTUP,
CTDB_RUNSTATE_RUNNING,
CTDB_RUNSTATE_SHUTDOWN,