ctdb-recoverd: Set recovery lock handle at start of attempt
authorMartin Schwenke <martin@meltin.net>
Mon, 3 Sep 2018 03:30:57 +0000 (13:30 +1000)
committerMartin Schwenke <martins@samba.org>
Tue, 18 Sep 2018 00:18:30 +0000 (02:18 +0200)
commit486022ef8f43251258f255ffa15f1a01bc6aa2b7
tree5a779728f8dcaee781262f09c1876e186a187d69
parentb1dc5687844e90b0e3c39cb46a1116c86118fbf4
ctdb-recoverd: Set recovery lock handle at start of attempt

This allows the attempt to be cancelled if an election is lost and an
unlock is done before the attempt is completed.

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>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Tue Sep 18 02:18:30 CEST 2018 on sn-devel-144
ctdb/server/ctdb_recoverd.c