summaryrefslogtreecommitdiff
path: root/examples/pcap2nbench/writeandxrequest.cpp
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-02-24 10:53:05 +1030
committerRusty Russell <rusty@rustcorp.com.au>2010-02-24 10:53:05 +1030
commitececeffd85db1b27c07cdf91a921fd203006daf6 (patch)
tree6eed31503cfe5af4c348bb00d4db8cc92cf9b7e7 /examples/pcap2nbench/writeandxrequest.cpp
parent8c3fda4318adc71899bc41486d5616da3a91a688 (diff)
downloadsamba-ececeffd85db1b27c07cdf91a921fd203006daf6.tar.gz
samba-ececeffd85db1b27c07cdf91a921fd203006daf6.tar.bz2
samba-ececeffd85db1b27c07cdf91a921fd203006daf6.zip
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>
Diffstat (limited to 'examples/pcap2nbench/writeandxrequest.cpp')
0 files changed, 0 insertions, 0 deletions