]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-recoverd: Store recovery lock handle
authorMartin Schwenke <martin@meltin.net>
Mon, 3 Sep 2018 02:39:32 +0000 (12:39 +1000)
committerKarolin Seeger <kseeger@samba.org>
Thu, 20 Sep 2018 07:13:12 +0000 (09:13 +0200)
commit72a8c69935a7a5380689abd9a98df81291f6c812
treebed7eee72aa7fb1279253f8510d2ad8f034ee50b
parent9745524234ab57aa8a895fb90a5dad35d9064ce4
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>
(cherry picked from commit c52216740bd81b68876de06e104822bbbca86df9)
ctdb/server/ctdb_recoverd.c