diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-06-21 15:00:46 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-06-21 15:00:46 +0930 |
commit | 0be60b6a7aa928bccbbdd0e363718b77b58c9870 (patch) | |
tree | 4397262ab72eb16a124531db8b206da4b0cde5f8 /ctdb/lib/talloc/talloc.c | |
parent | d2def0ee1f099909b0af13be112451cf4247474b (diff) | |
download | samba-0be60b6a7aa928bccbbdd0e363718b77b58c9870.tar.gz samba-0be60b6a7aa928bccbbdd0e363718b77b58c9870.tar.xz samba-0be60b6a7aa928bccbbdd0e363718b77b58c9870.zip |
libctdb: test: add database save and restore
Once we do operations which alter the TDBs, we need to restore them to
pristine state after a failed child dies.
The method used here is a terrible hack: it should at least do a
tdb_lockall() on the database before blatting it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(This used to be ctdb commit d48ec16bd2b4932442d95fc43bea52baa0425501)
Diffstat (limited to 'ctdb/lib/talloc/talloc.c')
0 files changed, 0 insertions, 0 deletions