Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Clarify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shanson7 committed Jun 29, 2018
1 parent 3922e53 commit ca4439c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,9 @@ func (s *Server) peerQuery(ctx context.Context, data cluster.Traceable, name, pa

// peerQuerySpeculative takes a request and the path to request it on, then fans it out
// across the cluster, except to the local peer. If any peer fails requests to
// other peers are aborted. If 95% of peers have been heard from, and we are missing
// the others, try to speculatively query ANOTHER member of the shard group.
// other peers are aborted. If enough peers have been heard from (based on
// speculation-threshold configuration), and we are missing the others, try to
// speculatively query other members of the shard group.
// ctx: request context
// data: request to be submitted
// name: name to be used in logging & tracing
Expand Down

0 comments on commit ca4439c

Please sign in to comment.