pull down to refresh
20 sats \ 3 replies \ @k00b 18 Aug \ parent \ on: Highly available Lightning node cluster setup guide lightning
This is wrong though. You can construct something like an expiring lock in Postgres.
I would guess it’s more common for application developers to reach for a tool more specific to the use case, like etcd, zookeeper, or consul.
You’re right that LND could potentially use advisory locks, which might make sense to eliminate an entire dependency when postgres is used as the backend.
reply
Relevant issue from 2022:
https://github.com/lightningnetwork/lnd/issues/6894