1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb
Martin Schwenke 0e678a73b8 ctdbd: Only start recovery daemon and timed events after setup event
This deconstructs ctdb_start_transport(), which did much more than
starting the transport.

This removes a very unlikely race and adds some clarity.  The setup
event is supposed to set the tunables before the first recovery.
However, there was nothing stopping the first recovery from starting
before the setup event had completed.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit c31feb27dcdb748b5333321c85fe54852dfa1bcf)
2013-05-24 14:08:06 +10:00
..
client client: fix ctdb_control() to be able to cope with CTDB_CTRL_FLAG_NOREPLY 2013-04-24 18:46:22 +10:00
common ctdbd: Replace ctdb->done_startup with ctdb->runstate 2013-05-24 14:08:06 +10:00
config scripts: Rework notify.sh to use notify.d/ directory 2013-05-23 16:18:23 +10:00
doc recoverd: Fix tunable NoIPTakeoverOnDisabled, rename to NoIPHostOnAllDisabled 2013-05-07 16:20:46 +10:00
ib Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
include ctdbd: Replace ctdb->done_startup with ctdb->runstate 2013-05-24 14:08:06 +10:00
lib build: Fix for tevent autoconf check 2013-03-27 12:20:17 +11:00
libctdb client: Set the socket non-blocking only after connect succeeds 2013-04-05 13:21:41 +11:00
packaging locking: Add a standalone helper to lock record/db 2013-05-24 09:06:39 +10:00
server ctdbd: Only start recovery daemon and timed events after setup event 2013-05-24 14:08:06 +10:00
tcp ctdbd: Initialise the node flags in just one place 2013-01-07 10:35:39 +11:00
tests tests: Fix output of run_tests usage 2013-05-24 09:06:40 +10:00
tools tools/ctdb: Remove duplicate command definition for "sync" 2013-05-24 14:08:06 +10:00
utils utils🏓 add a -c switch to check the lock before reading/writing 2012-11-20 00:48:52 +01:00
web web: Update instructions for building from tarball 2012-10-31 12:19:08 +11:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore Git should ignore generated include/version.h file 2012-11-27 18:43:34 +11:00
aclocal.m4 initial version 2006-11-18 10:41:20 +11:00
autogen.sh event: Update events to latest Samba version 0.9.8 2010-08-18 09:16:31 +09:30
config.guess build: Update config.guess 2012-12-30 and config.sub to 2013-01-11 2013-01-22 18:03:37 +11:00
config.mk minor back-merge from samba4 2007-07-10 18:13:47 +10:00
config.sub build: Update config.guess 2012-12-30 and config.sub to 2013-01-11 2013-01-22 18:03:37 +11:00
configure.ac Build: Set the default ctdb socket path at configure time 2012-10-21 01:39:08 +11:00
configure.rpm fixed permissions on configure.rpm 2008-04-22 16:48:25 +02:00
COPYING add a licence file 2009-02-07 08:10:34 +11:00
ctdb.pc.in (This used to be ctdb commit b0718551f55d5da9be0e6aba233f57c1ff8509be) 2009-04-08 09:14:20 +10:00
install-sh initial version 2006-11-18 10:41:20 +11:00
Makefile.in locking: Use separate locking helper binary for locking 2013-05-24 09:06:40 +10:00
README doc: README - add information about CTDB, license and website 2012-10-22 17:39:49 +11:00
README.Coding Add a code-style document. 2010-07-30 16:37:22 +10:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.