pvc/node-daemon/pvcnoded/util
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
..
__init__.py Refactor pvcnoded to reduce Daemon.py size 2021-08-21 03:14:22 -04:00
fencing.py Improve fence handling to prevent anomalies 2024-10-10 16:42:57 -04:00
keepalive.py Improve fence handling to prevent anomalies 2024-10-10 16:42:57 -04:00
libvirt.py Update copyright header on all files for 2024 2023-12-29 11:16:59 -05:00
networking.py Update copyright header on all files for 2024 2023-12-29 11:16:59 -05:00
services.py Update copyright header on all files for 2024 2023-12-29 11:16:59 -05:00
zookeeper.py Fix possible race condition applying schemas 2024-01-11 10:21:01 -05:00