ctdb-daemon: Implement ctdb_control_startup()
authorMartin Schwenke <martin@meltin.net>
Thu, 27 Feb 2014 02:47:28 +0000 (13:47 +1100)
committerMartin Schwenke <martins@samba.org>
Thu, 27 Feb 2014 10:49:39 +0000 (11:49 +0100)
commit0723fedcedd4a97870f7b1224945f1587363c9bf
tree983a4673558635379ec3f3802644acb9bb973da9
parent75ca1216a63d0a404466bfb94a1fba1e478b80c6
ctdb-daemon: Implement ctdb_control_startup()

This doesn't implement what was recommended.  That would require
careful error handling, probably with a fallback to this code anyway.
This is simple and does no worse that the current code.  That is, the
new node is updated on the next call to tdb_update_tcp_tickles().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_takeover.c