git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ca64c34
)
drop retries to 5
author
Andrew Tridgell
<tridge@samba.org>
Fri, 8 Aug 2008 03:13:42 +0000
(13:13 +1000)
committer
Michael Adam
<obnox@samba.org>
Wed, 13 Aug 2008 09:54:11 +0000
(11:54 +0200)
(This used to be commit
a2f70fc175b748ef160a998d0563c28381ea3466
)
source3/lib/dbwrap_ctdb.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap_ctdb.c
b/source3/lib/dbwrap_ctdb.c
index 049e1b9584d8e814d94423ca62938a76a450ed3d..541b2789707e5a905d27c8a5e7370d194c12393d 100644
(file)
--- a/
source3/lib/dbwrap_ctdb.c
+++ b/
source3/lib/dbwrap_ctdb.c
@@
-670,7
+670,7
@@
again:
}
}
}
}
- if (++retries ==
10
) {
+ if (++retries ==
5
) {
DEBUG(0,(__location__ " Giving up transaction on db 0x%08x after %d retries failure_control=%u\n",
h->ctx->db_id, retries, (unsigned)failure_control));
ctdbd_control_local(messaging_ctdbd_connection(), failure_control,
DEBUG(0,(__location__ " Giving up transaction on db 0x%08x after %d retries failure_control=%u\n",
h->ctx->db_id, retries, (unsigned)failure_control));
ctdbd_control_local(messaging_ctdbd_connection(), failure_control,