raft/progress.go
func (pr *Progress) IsPaused() bool {
	switch pr.State {
	case ProgressStateProbe:
		return pr.Paused
	case ProgressStateReplicate:
		return pr.ins.full()
	case ProgressStateSnapshot:
		return true
	default:
		panic("unexpected state")
	}
}
func (pr *Progress) IsPaused() bool {
	switch pr.State {
	case ProgressStateProbe:
		return pr.Paused
	case ProgressStateReplicate:
		return pr.ins.full()
	case ProgressStateSnapshot:
		return true
	default:
		panic("unexpected state")
	}
}
func ( pr * Progress ) IsPaused ( ) bool { switch pr . State { case ProgressStateProbe : return pr . Paused case ProgressStateReplicate : return pr . ins . full ( ) case ProgressStateSnapshot : return true default : panic ( " " ) } }
// IsPaused returns whether sending log entries to this node has been
// paused. A node may be paused because it has rejected recent
// MsgApps, is currently waiting for a snapshot, or has reached the
// MaxInflightMsgs limit.
IsPaused returns whether sending log entries to this node has been paused . A node may be paused because it has rejected recent MsgApps is currently waiting for a snapshot or has reached the MaxInflightMsgs limit .