summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-12-18 15:37:11 +1100
committerAmitay Isaacs <amitay@gmail.com>2014-01-17 17:59:41 +1100
commite6304d1e1adc86fc9c1199feb7b4802614fbc70f (patch)
tree5cd393af6ff5fe9d76f46c6311175bd13ca21e3f /python
parent50e00b3e5224d53df0f3cc882e71737f928e01cd (diff)
downloadsamba-e6304d1e1adc86fc9c1199feb7b4802614fbc70f.tar.gz
samba-e6304d1e1adc86fc9c1199feb7b4802614fbc70f.tar.xz
samba-e6304d1e1adc86fc9c1199feb7b4802614fbc70f.zip
ctdb/daemon: Untangle serialisation of 1st recovery -> startup -> monitor
At the moment ctdb_check_healthy() is overloaded to wait until the first recovery is complete, handle the "startup" event and also actually handle monitoring. This is untidy and hard to follow. Instead, have the daemon explicitly wait for 1st recovery after the "setup" event. When first recovery is complete, schedule a function to handle the "startup" event. When the "startup" event succeeds then explicitly enable monitoring. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions