Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
Signed-off-by: you06 <[email protected]>
  • Loading branch information
you06 committed Jul 5, 2023
1 parent 7ffc86e commit f6c695a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/locate/region_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,13 +540,13 @@ type accessFollower struct {
lowPriorReplicas []AccessIndex
learnerOnly bool
// replicaReadType indicates the strategy of choosing replica.
// kv.ReplicaReadFollower, randomly choose follower.
// kv.ReplicaReadMixed
// kv.ReplicaReadFollower, randomly choose follower.
// kv.ReplicaReadMixed
// if option.labels contains tikv.DCLabelKey, it's the closest replica read,
// randomly choose the one of the closest replicas.
// if not, randomly choose replica from leader and followers.
// kv.ReplicaReadLearner, randomly choose from learner.
// kv.ReplicaReadPreferLeader, choose leader firstly, retry with followers.
// kv.ReplicaReadLearner, randomly choose from learner.
// kv.ReplicaReadPreferLeader, choose leader firstly, retry with followers.
replicaReadType kv.ReplicaReadType
}

Expand Down

0 comments on commit f6c695a

Please sign in to comment.