Re:Show HN: Lockable – sync locks for distributed systems
by Gwypaas on Saturday June 18, 2022 @08:43AM
(#31789317)
Heartbeats does not solve it. You need fencing tokens to reject writes if the lock has expired.
See this amazing article by Martin Kleppman, author of Designing Data-Intensive Applications.
"How to do distributed locking"
https://martin.kleppmann.com/2016/02/08/how-to-do-distribute...
This implementation has "heartbeats" so I wonder whether it solves the problem.