mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
Revert "dont check if commit failed, we do allow the commit to fail sometimes"
This reverts commit affa6f47432507e84b7e76b88a2c27fff8e6e2e4. Transaction commit should not be allowed to fail. This is a fatal error. Michael (This used to be ctdb commit 4364419a486c1995bea56dab603cc4960e7c8e7a)
This commit is contained in:
parent
fcaca26ec4
commit
d0289c650e
@ -197,7 +197,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);
|
||||
}
|
||||
if (verbose) printf("transaction committed\n");
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user