ctdb-recoverd: Time out attempt to take recovery lock after 120s
authorMartin Schwenke <martin@meltin.net>
Fri, 22 Feb 2019 04:09:33 +0000 (15:09 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 25 Feb 2019 01:12:17 +0000 (02:12 +0100)
commit13a1a4808935290dceb219daccd7aac3fda4e184
tree5d7f54ed2b01f5763fe0cf8de27d79e820cb944e
parent45a77d65b2e39b4af94da4ab99575f4ee08a7ebd
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>
ctdb/server/ctdb_recoverd.c