git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1d8496
)
client: add a debug message when a transaction_commit needs to be retried
author
Michael Adam
<obnox@samba.org>
Thu, 29 Oct 2009 21:19:19 +0000
(22:19 +0100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Fri, 30 Oct 2009 11:00:42 +0000
(22:00 +1100)
Michael
client/ctdb_client.c
patch
|
blob
|
history
diff --git
a/client/ctdb_client.c
b/client/ctdb_client.c
index 8faa5ddd22d791549605ea7bd802fd30f8109ee4..b03e0f85fd9bdec404b3f811cdd63ea849ebdfcf 100644
(file)
--- a/
client/ctdb_client.c
+++ b/
client/ctdb_client.c
@@
-3497,6
+3497,9
@@
again:
&timeout, NULL);
if (ret != 0 || status != 0) {
tdb_transaction_cancel(h->ctdb_db->ltdb->tdb);
+ DEBUG(DEBUG_WARNING, (__location__ " transaction commit%s failed"
+ ", retrying after 1 second...\n",
+ (retries==0)?"":"retry "));
sleep(1);
if (ret != 0) {