Ivan Andika created RATIS-2782:
----------------------------------
Summary: Implement LeaseGuard
Key: RATIS-2782
URL: https://issues.apache.org/jira/browse/RATIS-2782
Project: Ratis
Issue Type: New Feature
Reporter: Ivan Andika
Assignee: Ivan Andika
We can think on implementing LeaseGuard ([https://arxiv.org/pdf/2512.15659]) to
remove the need to send heartbeat for each linearizable read.
Additionally, LeaseGuard would introduce a timestamp for each log which is
needed in the timestamp-based stale bounded reads (RATIS-2376). Therefore,
LeaseGuard should be the done before RATIS-2376.
LeaseGuard has started being explored / integrated in some open source Raft
implementations
* SeaStar Raft (ScyllaDB)
** [https://github.com/scylladb/scylladb/pull/30697]
** https://github.com/scylladb/scylladb/pull/30777
* OpenRaft: https://github.com/databendlabs/openraft/issues/1651
* Sailing (Raft):
[https://github.com/al8n/sailing/blob/b131cd5cb81d771b7a4d3d3970156b1ceedd424a/sailing-proto/src/config/mod.rs]
* Nats Server: [https://github.com/nats-io/nats-server/pull/7748]
* Hydro: https://github.com/hydro-project/hydro/pull/3217
Resources
*
[https://www.mongodb.com/company/research/distributed-systems-research-group/leaseguard-raft-leases-done-right]
*
[https://muratbuffalo.blogspot.com/2025/12/leaseguard-raft-leases-done-right.html]
* [https://github.com/mongodb-labs/logcabin/tree/leaseguard]
* [https://github.com/muratdem/RaftLeaderLeases/blob/main/TLA/leaseGuard.tla]
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)