diff --git a/raft/raft.go b/raft/raft.go index a07b39ccb..468776c47 100644 --- a/raft/raft.go +++ b/raft/raft.go @@ -72,8 +72,8 @@ const ( var ErrProposalDropped = errors.New("raft proposal dropped") // lockedRand is a small wrapper around rand.Rand to provide -// synchronization. Only the methods needed by the code are exposed -// (e.g. Intn). +// synchronization among multiple raft groups. Only the methods needed +// by the code are exposed (e.g. Intn). type lockedRand struct { mu sync.Mutex rand *rand.Rand