summaryrefslogtreecommitdiff
path: root/source3/utils/dbwrap_torture.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-27Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on allJeremy Allison1-1/+1
TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt this is still safe to use as if opening an existing tdb the new hash will be ignored - it's only used on creating a new tdb not opening an old one. Jeremy.
2010-08-26s3-build: use dbwrap.h only where needed.Günther Deschner1-0/+1
Guenther
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
2010-02-23s3: Consolidate server_id_self into the equivalent procid_self()Volker Lendecke1-1/+1
2010-02-12s3:dbwrap: If "-n" is given to dbwrap_torture, open db with CLEAR_IF_FIRSTVolker Lendecke1-0/+4
2009-11-25s3-build: try to fix QNX build ("delay" is defined in lib headers).Günther Deschner1-7/+7
Guenther
2009-11-24s3:dbwrap_torture: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher1-16/+3
start_timer/end_timer metze
2009-11-23s3: add dbwrap_torture - a tool to stress test tdb transactions through dbwrapMichael Adam1-0/+350
This can be used to also test tdb transactions on clustered installations throught ctdb. The test is modeled after the ctdb_transaction.c test program from the ctdb source code. It runs transactions in a tight loop on a test database called "transactions.tdb" (by default), increasing a counter in each iteration. In a clustered environment, a counter is maintained for each node. Michael