1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb
Rusty Russell 5c58560d50 tdb: add -k option to tdbtorture
To test the case of death of a process during transaction commit, add
a -k (kill random) option to tdbtorture.  The easiest way to do this
is to make every worker a child (unless there's only one child), which
is why this patch is bigger than you might expect.

Using -k without -t (always transactions) you expect corruption, though
it doesn't happen every time.  With -t, we currently get corruption but
the next patch fixes that.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

(Imported from commit ececeffd85)

(This used to be ctdb commit e5af0ce79c74f11daae2a8514e398c40535e2e67)
2010-04-22 13:54:06 +09:30
..
client Fix a compiler warning 2010-04-08 14:28:52 +10:00
common In the recovery daemon, keep track of which node we have assigned public ip 2010-04-08 14:25:26 +10:00
config Fix a thinko in 2ea0a9f1a93781a0d036feb9fcc0d120b182922f. 2010-04-20 10:52:31 +10:00
doc doc: regenerate ctdb(1) manpages after xml change 2010-03-10 07:55:41 +01:00
ib Whitespace changes and using the CTDB_NO_MEMORY() macro changes to 2009-05-21 11:49:16 +10:00
include In the recovery daemon, keep track of which node we have assigned public ip 2010-04-08 14:25:26 +10:00
lib tdb: add -k option to tdbtorture 2010-04-22 13:54:06 +09:30
packaging new version 1.0.114 2010-03-24 17:21:10 +11:00
server In the recovery daemon, keep track of which node we have assigned public ip 2010-04-08 14:25:26 +10:00
tcp Drop the debug level for logging fd creation to DEBUG_DEBUG 2010-02-04 06:37:41 +11:00
tests server: add "setup" event 2010-02-23 10:38:49 +01:00
tools ctdb regsrvids is much more useful for testing if it sleeps once it has registered its srvid. 2010-02-22 15:34:26 +11:00
utils From Elia Pinto <gitter.spiros@gmail.com> 2010-02-22 14:00:33 +11:00
web fix the git path to the repository 2009-05-25 12:15:13 +10:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore From Mathieu Parent <math.parent@gmail.com> 2009-04-08 09:21:11 +10:00
aclocal.m4 initial version 2006-11-18 10:41:20 +11:00
autogen.sh From Mathieu Parent <math.parent@gmail.com> 2009-04-08 09:21:11 +10:00
config.guess Revert "try to restart statd everytime it fails, not just the first time" 2009-09-15 19:33:35 +10:00
config.mk minor back-merge from samba4 2007-07-10 18:13:47 +10:00
config.sub Revert "try to restart statd everytime it fails, not just the first time" 2009-09-15 19:33:35 +10:00
configure.ac lib/util: import fault/backtrace handling from samba. 2010-01-20 09:44:36 +01: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 config: add 13.per_ip_routing event script 2010-01-20 11:10:57 +01:00