1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/ctdb/utils
David Disseldorp ce289e89e5 ctdb_mutex_ceph_rados_helper: fix deadlock via lock renewals
RADOS locks without expiry persist indefinitely. This results in CTDB
deadlock during failover if the recovery master dies unexpectedly, as
subsequently elected recovery master nodes can't obtain the recovery
lock.
Avoid deadlock by using a lock expiration time (10s by default), and
renewing it periodically.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13540

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2018-08-09 13:29:15 +02:00
..
ceph ctdb_mutex_ceph_rados_helper: fix deadlock via lock renewals 2018-08-09 13:29:15 +02:00
etcd ctdb-docs: Add ctdb.conf(5) cross references and documentation tweaks 2018-05-17 04:04:32 +02:00
nagios ctdb-utils: Update Nagios code to use ctdb -X 2014-12-05 21:02:40 +01:00
ping_pong ctdb-utils: CID 1343331 Unchecked return value from library (CHECKED_RETURN) 2017-02-24 07:47:09 +01:00
pmda ctdb/pmda: fix num_recoveries metric store 2018-03-05 16:01:17 +01:00
scsi_io Clean up warnings: remove unused variable alen from scsi_io 2011-11-09 15:37:24 +11:00
smnotify ctdb: Add a required include 2016-10-17 22:34:20 +02:00