mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
ctdb-recoverd: Time out attempt to take recovery lock after 120s
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>
This commit is contained in:
parent
45a77d65b2
commit
13a1a48089
@ -971,7 +971,7 @@ static bool ctdb_recovery_lock(struct ctdb_recoverd *rec)
|
|||||||
h = ctdb_cluster_mutex(s,
|
h = ctdb_cluster_mutex(s,
|
||||||
ctdb,
|
ctdb,
|
||||||
ctdb->recovery_lock,
|
ctdb->recovery_lock,
|
||||||
0,
|
120,
|
||||||
take_reclock_handler,
|
take_reclock_handler,
|
||||||
s,
|
s,
|
||||||
lost_reclock_handler,
|
lost_reclock_handler,
|
||||||
|
Loading…
Reference in New Issue
Block a user