diff options
author | Martin Schwenke <martin@meltin.net> | 2018-09-03 13:01:19 +1000 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-09-20 09:13:12 +0200 |
commit | 21e4884a1a3b25ee5fdf399b3d33bba3af004c99 (patch) | |
tree | dfc3f6ca7fe19dc95365053a2501b49bd0c530c8 /release-scripts | |
parent | da9bb48a459644801deac2514fc00c9c639c2ef5 (diff) | |
download | samba-21e4884a1a3b25ee5fdf399b3d33bba3af004c99.tar.gz |
ctdb-recoverd: Handle cancellation when releasing recovery lock
If the recovery lock is in the process of being taken then free the
cluster mutex handle but leave the recovery lock handle in place.
This allows ctdb_recovery_lock() to fail.
Note that this isn't yet live because rec->recovery_lock_handle is
still only set at the completion of the attempt to take the lock.
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 b1dc5687844e90b0e3c39cb46a1116c86118fbf4)
Diffstat (limited to 'release-scripts')
0 files changed, 0 insertions, 0 deletions