From c23d804165e84bdf95ba960c953c736d361011d7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 3 Dec 2009 00:28:32 +0100 Subject: [PATCH] client: increase the number of commit retries 10-->100 To cope with timeouts when recoveries and transactions collide. Maybe 100 is too high. Michael --- client/ctdb_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ctdb_client.c b/client/ctdb_client.c index c73200d0..48b9b5a3 100644 --- a/client/ctdb_client.c +++ b/client/ctdb_client.c @@ -3539,7 +3539,7 @@ again: } } - if (++retries == 10) { + if (++retries == 100) { DEBUG(DEBUG_ERR,(__location__ " Giving up transaction on db 0x%08x after %d retries failure_control=%u\n", h->ctdb_db->db_id, retries, (unsigned)failure_control)); ctdb_control(ctdb, CTDB_CURRENT_NODE, h->ctdb_db->db_id, -- 2.34.1