1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/tools
Martin Schwenke f72f4c362b tools/ctdb: Factor, simplify and improve robustness of ipreallocate code
Having other functions call control_ipreallocate() suggests that the
it might look at the argv/argv arguments that are passed.  This is not
the case.  Change the callers so they call the new ipreallocate()
function instead.

Broadcast CTDB_SRVID_TAKEOVER_RUN to all connected nodes.  Inactive
nodes will ignore it.  This is safe since we only want 1 reply.  If we
didn't get a response, we don't actually care if there's no active
recovery master - just fire, wait, retry, ...

Ignore some failures on the basis that they might be transient, so it
is probably worth retrying.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 4bf0b1c9d21986eecb7682f935bd6154c65533cc)
2013-08-21 14:02:36 +10:00
..
ctdb_diagnostics tools/ctdb_diagnostics: Add "ctdb listvars" output 2012-10-18 20:05:43 +11:00
ctdb_vacuum.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb.c tools/ctdb: Factor, simplify and improve robustness of ipreallocate code 2013-08-21 14:02:36 +10:00
ltdbtool.c tools/ltdbtool: Fix handling of -e option 2013-04-08 14:25:34 +10:00
onnode tools/onnode: Add -P option to push files to given nodes 2012-07-30 15:34:41 +10:00