diff options
author | Michael Adam <obnox@samba.org> | 2009-12-04 14:53:05 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-12-05 17:59:36 +0100 |
commit | 04ba95c09d6d99f42f472435f6b21798f0bba418 (patch) | |
tree | c265396e4794726327f96ea8c6f5eb2ac218c43b /source3 | |
parent | d92d770d238bf982627ae9e7498650ba77674057 (diff) | |
download | samba-04ba95c09d6d99f42f472435f6b21798f0bba418.tar.gz samba-04ba95c09d6d99f42f472435f6b21798f0bba418.tar.bz2 samba-04ba95c09d6d99f42f472435f6b21798f0bba418.zip |
s3:dbwrap_ctdb: increase the number of commit retries 5-->100
This is to cope with timeouts when recoveries and transactions collide.
Maybe 100 is too hight, but 10 or even 20 have been too low in a
very busy environment.
Michael
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/dbwrap_ctdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c index 9e57aadb25..8e188d0ab5 100644 --- a/source3/lib/dbwrap_ctdb.c +++ b/source3/lib/dbwrap_ctdb.c @@ -850,7 +850,7 @@ again: } } - if (++retries == 5) { + if (++retries == 100) { 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, |