ctdb-recoverd: Time out attempt to take recovery lock after 120s
commitd7fe81405aa82cc7c623629b3419387671370725
authorMartin Schwenke <martin@meltin.net>
Fri, 22 Feb 2019 04:09:33 +0000 (22 15:09 +1100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Mar 2019 19:29:12 +0000 (5 19:29 +0000)
tree7dc34df32165d0d949c828ab419e59a4a63485c5
parentbf774b81051bfe1f3e58c3b5d5c074415a9abf51
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>
(cherry picked from commit 13a1a4808935290dceb219daccd7aac3fda4e184)
ctdb/server/ctdb_recoverd.c