git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45a77d6
)
ctdb-recoverd: Time out attempt to take recovery lock after 120s
author
Martin Schwenke
<martin@meltin.net>
Fri, 22 Feb 2019 04:09:33 +0000
(15:09 +1100)
committer
Amitay Isaacs
<amitay@samba.org>
Mon, 25 Feb 2019 01:12:17 +0000
(
02:12
+0100)
Currently this will wait forever. It really needs a timeout in case
the cluster filesystem (or other lock mechanism) is completely wedged.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13800
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_recoverd.c
patch
|
blob
|
history
diff --git
a/ctdb/server/ctdb_recoverd.c
b/ctdb/server/ctdb_recoverd.c
index 584d65d61a7fff796ca4b380fe99a6721867636b..9b3559b2a9274c2cb9f9aabba54847cbcc14f34b 100644
(file)
--- a/
ctdb/server/ctdb_recoverd.c
+++ b/
ctdb/server/ctdb_recoverd.c
@@
-971,7
+971,7
@@
static bool ctdb_recovery_lock(struct ctdb_recoverd *rec)
h = ctdb_cluster_mutex(s,
ctdb,
ctdb->recovery_lock,
- 0,
+
12
0,
take_reclock_handler,
s,
lost_reclock_handler,