replication.go
func (r *Raft) handleStaleTerm(s *followerReplication) {
	r.logger.Error(fmt.Sprintf("peer %v has newer term, stopping replication", s.peer))
	s.notifyAll(false) // No longer leader
	asyncNotifyCh(s.stepDown)
}
func (r *Raft) handleStaleTerm(s *followerReplication) {
	r.logger.Error(fmt.Sprintf("peer %v has newer term, stopping replication", s.peer))
	s.notifyAll(false) // No longer leader
	asyncNotifyCh(s.stepDown)
}
// handleStaleTerm is used when a follower indicates that we have a stale term.