Skip to content

Multiraft: leader leases #230

@bdarnell

Description

@bdarnell

We need to introduce a concept of leader leases so a leader can take read-only actions without writing them to the raft log. This means

  • Ensuring that no node calls an election without first waiting for at least the leader lease timeout (including just after starting up)
  • Keeping track of heartbeat responses and reverting to follower status if a timeout elapses without a quorum of heartbeat responses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions