pvc/node-daemon/pvcnoded
Joshua Boniface a6f8500309 Improve fence handling to prevent anomalies
1. Move fence monitoring to its own thread rather than doing the listing
and triggering within the main keepalive thread.
2. Add a global lock key at /config/fence_lock and use this lock key to
prevent multiple nodes from trying to run fences simultaneously.
3. Run the fencing monitor for each node sequentially within the context
of the main fence monitoring thread, to ensure that fences of multiple
nodes happen sequentially rather than in parallel.

All of these should help to prevent any anomalies where one node can try
to fence multiple nodes at once without recourse.
2024-10-10 16:42:57 -04:00
..
objects Add read lock timeouts to prevent deadlocks 2024-10-10 15:19:05 -04:00
util Improve fence handling to prevent anomalies 2024-10-10 16:42:57 -04:00
Daemon.py Bump version to 0.9.100 2024-08-30 11:03:33 -04:00
__init__.py Use consistent naming of components 2020-02-08 19:34:07 -05:00
dnsmasq-zookeeper-leases.py Update copyright header on all files for 2024 2023-12-29 11:16:59 -05:00