diff options
author | Michael Adam <obnox@samba.org> | 2009-09-10 16:20:26 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-21 11:16:18 +0200 |
commit | fcaca26ec42427dd78128db32c7ce0f6f620556c (patch) | |
tree | 762b6491d2a9725c89046b97ee20a57b183a5a86 | |
parent | 3cb4bcd211058e92efa8a43e0b6e02ccff98048c (diff) | |
download | samba-fcaca26ec42427dd78128db32c7ce0f6f620556c.tar.gz samba-fcaca26ec42427dd78128db32c7ce0f6f620556c.tar.xz samba-fcaca26ec42427dd78128db32c7ce0f6f620556c.zip |
Revert "allow the transaction commit to fail"
This reverts commit 7a6134e684c9ac4763bf198ef1410867b6082c94.
Transaction commit should not be allowed to fail.
This is a fatal error.
Michael
(This used to be ctdb commit 74e416108df6934f45ca646d709785dd76ab3c35)
-rw-r--r-- | ctdb/tests/src/ctdb_persistent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/src/ctdb_persistent.c b/ctdb/tests/src/ctdb_persistent.c index 4a50aa798f7..8110ce12832 100644 --- a/ctdb/tests/src/ctdb_persistent.c +++ b/ctdb/tests/src/ctdb_persistent.c @@ -164,7 +164,7 @@ static void test_store_records(struct ctdb_context *ctdb, struct event_context * ret = ctdb_transaction_commit(h); if (ret != 0) { DEBUG(DEBUG_ERR,("Failed to commit transaction\n")); - //exit(1); + exit(1); } /* store the counters and verify that they are sane */ |