Skip to content

Commit

Permalink
removing spurious warning message in selector (#1372)
Browse files Browse the repository at this point in the history
Signed-off-by: rishabh_mittal <[email protected]>
  • Loading branch information
mittalrishabh authored Jun 24, 2024
1 parent f9fbc4c commit 01a4f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/locate/region_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ func (state *accessFollower) next(bo *retry.Backoffer, selector *replicaSelector
leaderExhausted := state.IsLeaderExhausted(leader)
leaderTimeout := leader.deadlineErrUsingConfTimeout
if len(state.option.labels) > 0 && !state.option.leaderOnly {
logutil.BgLogger().Warn("unable to find a store with given labels",
logutil.BgLogger().Debug("unable to find a store with given labels",
zap.Uint64("region", selector.region.GetID()),
zap.Bool("stale-read", state.isStaleRead),
zap.Any("labels", state.option.labels))
Expand Down

0 comments on commit 01a4f59

Please sign in to comment.