# Murat Demirbas - LeaseGuard: Raft Leases Done Right (Highlights) ![rw-book-cover|256](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz19UQEyuVT_PNaituSBV1aKdwlwXQ2AFKqeo_NjNhOAzu_Tc-Vf5DgNCEzCzVPIih5agb28K84PPQjJb_Micq_pjEwsOvrcmgoAJP83CRbrAtIKsdda_OIB4VJlg-t5_O0-DNip64_p7RWFQ5uTzoqeZEvvnAazi8juKEZkN0Bubf5mu7PD3hHjEfDVI/s72-w640-h398-c/plate_21_19_27%20(1).jpeg) ## Metadata **Review**:: [readwise.io](https://readwise.io/bookreview/56972375) **Source**:: #from/readwise #from/reader **Zettel**:: #zettel/fleeting **Status**:: #x **Authors**:: [[Murat Demirbas]] **Full Title**:: LeaseGuard: Raft Leases Done Right **Category**:: #articles #readwise/articles **Category Icon**:: 📰 **URL**:: [muratbuffalo.blogspot.com](http://muratbuffalo.blogspot.com/2025/12/leaseguard-raft-leases-done-right.html) **Host**:: [[muratbuffalo.blogspot.com]] **Highlighted**:: [[2025-12-20]] **Created**:: [[2025-12-27]] ## Highlights - Besides, lease protocols have never been specified in detail, for either Raft or Paxos. For all these reasons, many Raft implementations don't use leases at all, or their [leases](https://github.com/etcd-io/raft/issues/166) [are](https://github.com/hashicorp/raft/issues/108) [buggy](https://aphyr.com/posts/316-jepsen-etcd-and-consul). ([View Highlight](https://read.readwise.io/read/01kcxmq2n66kth3ja9xzzdqfqq)) ^968174736 - Our main innovation is to rely on Raft-specific guarantees to design a simpler lease protocol that recovers faster from a leader crash. ([View Highlight](https://read.readwise.io/read/01kcxmr4g600p6cqg756krz5dt)) ^968174754 - LeaseGuard does not use extra messages or variables for lease management, and does not interfere with voting or elections. ([View Highlight](https://read.readwise.io/read/01kcxmy8akqehmnvnwfer2ncjm)) ^968174906 - In LeaseGuard, **the log is the lease**. Committing a log entry grants the leader a lease that lasts until a timeout expires. ([View Highlight](https://read.readwise.io/read/01kcxmz2h5zxgssgw852v8e33r)) ^968174920 - When a new leader L1 is elected, it checks its own log for the previous leader L0's last entry, to infer how long to wait for L0's lease to expire. ([View Highlight](https://read.readwise.io/read/01kcxmzt3aat1qc0kmag2e2n0b)) ^968174945