ctdb-eventscripts: Attach to persistent ctdb.tdb in "startup" event
authorMartin Schwenke <martin@meltin.net>
Sun, 2 Mar 2014 18:50:14 +0000 (05:50 +1100)
committerAmitay Isaacs <amitay@samba.org>
Sun, 23 Mar 2014 03:20:14 +0000 (04:20 +0100)
commit87d58fd07b1294688b8fc6dbdf3dbb6cb12d3a80
tree97e0e0f61262fa1bb81d4e6d9b551b16fdeebdf0
parent4f79fa6c7c843502fcdaa2dead534ea3719b9f69
ctdb-eventscripts: Attach to persistent ctdb.tdb in "startup" event

"statd-callout notify" currently complains until an add-client or
del-client is done.

Given that we might use ctdb.tdb for something else in the future it
makes sense attach to it in the "startup" event.  This could be done
in the background but it should be so lightweight that a timeout will
indicate serious problems.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/events.d/00.ctdb