diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-08-07 13:34:18 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-08-07 13:34:18 +1000 |
commit | bbedba23c73f3c537783608c95830db0fab545ea (patch) | |
tree | 132ebc5f835d0772fd1510a0842e3dba9e4816b2 /ctdb/client | |
parent | 78acc59784522f52fe75b9a6dd7784595035a93e (diff) | |
download | samba-bbedba23c73f3c537783608c95830db0fab545ea.tar.gz samba-bbedba23c73f3c537783608c95830db0fab545ea.tar.xz samba-bbedba23c73f3c537783608c95830db0fab545ea.zip |
cover some corner cases where the persistent database could become
inconsistent
(This used to be ctdb commit c76c214be401cb116265ed17ffe6c77c979ded82)
Diffstat (limited to 'ctdb/client')
-rw-r--r-- | ctdb/client/ctdb_client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/client/ctdb_client.c b/ctdb/client/ctdb_client.c index 48eb19d969e..cec16d1f9b2 100644 --- a/ctdb/client/ctdb_client.c +++ b/ctdb/client/ctdb_client.c @@ -3235,6 +3235,9 @@ again: sleep(1); if (ctdb_replay_transaction(h) != 0) { DEBUG(DEBUG_ERR,(__location__ " Failed to replay transaction\n")); + ctdb_control(ctdb, CTDB_CURRENT_NODE, h->ctdb_db->db_id, + CTDB_CONTROL_TRANS2_ERROR, CTDB_CTRL_FLAG_NOREPLY, + tdb_null, NULL, NULL, NULL, NULL, NULL); talloc_free(h); return -1; } |