lnd/cluster
Andras Banki-Horvath 8e0534f756
multi: add leader check to the healthcheck monitor
This commit extends our healtcheck with an optional leader check. This
is to ensure that given network partition or other cluster wide failure
we act as soon as possible to avoid a split-brain situation where a new
leader is elected but we still hold onto our etcd client.
2024-08-01 19:04:10 +02:00
..
etcd_elector_factory.go cluster: configurable session TTL for the leader elector 2022-03-22 14:20:36 +01:00
etcd_elector_test.go multi: add leader check to the healthcheck monitor 2024-08-01 19:04:10 +02:00
etcd_elector.go multi: add leader check to the healthcheck monitor 2024-08-01 19:04:10 +02:00
factory.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
interface.go multi: add leader check to the healthcheck monitor 2024-08-01 19:04:10 +02:00
log.go cluster: add cluster package skeleton and LeaderElector interface 2021-05-04 17:33:07 +02:00