ctdb-recoverd: Store recovery lock handle
authorMartin Schwenke <martin@meltin.net>
Mon, 3 Sep 2018 02:39:32 +0000 (12:39 +1000)
committerMartin Schwenke <martins@samba.org>
Mon, 17 Sep 2018 20:58:20 +0000 (22:58 +0200)
commitc52216740bd81b68876de06e104822bbbca86df9
tree2dea203c117fdb91ed469d883686b4f7c31c1aec
parenta53b264aee7d620ee8ecf9114b0014c5bb678484
ctdb-recoverd: Store recovery lock handle

... not just cluster mutex handle.

This makes the recovery lock handle long-lived and with allow the
releasing code to cancel an in-progress attempt to take the recovery
lock.

The cluster mutex handle is now allocated off the recovery lock
handle.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_recoverd.c