Function raft::util::is_continuous_ents [−][src]
pub fn is_continuous_ents(msg: &Message, ents: &[Entry]) -> bool
Check whether the entry is continuous to the message.
i.e msg’s next entry index should be equal to the index of the first entry in ents