s3: add dbwrap_torture - a tool to stress test tdb transactions through dbwrap
authorMichael Adam <obnox@samba.org>
Fri, 20 Nov 2009 23:48:40 +0000 (00:48 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 23 Nov 2009 22:51:40 +0000 (23:51 +0100)
commit8353d47e9b2eda9d5711610b672a183eb414c6a3
treec86a5a52d34a85ec42dd66615608efaa165b523e
parent63a801e5c931e401351b02445704800d1103417c
s3: add dbwrap_torture - a tool to stress test tdb transactions through dbwrap

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
source3/Makefile.in
source3/utils/dbwrap_torture.c [new file with mode: 0644]