-
Notifications
You must be signed in to change notification settings - Fork 446
Open
Labels
Request for CommentA proposal to be considered. Analogous to an RFC in TiKV/Rust.A proposal to be considered. Analogous to an RFC in TiKV/Rust.
Description
With current implement, a MsgHeartbeat do these things:
- update( or correct ) a peer's status like commit index, StateRole, ect.
- confirm quorum for quorum check or read index request
While the MsgAppend already do the first, and the second are also easy to done
by attach the ctx with MsgAppend, we can reduce MsgHeartbeat by :
- when sending a
MsgAppendcheck if theheartbeat_elapsedreach a threshold - if it does reset the
heartbeat_elapsedand attach thectxon this msg if there is one
is it possible to implement and improve a bit performance ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Request for CommentA proposal to be considered. Analogous to an RFC in TiKV/Rust.A proposal to be considered. Analogous to an RFC in TiKV/Rust.