Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
GroundWu committed Jun 13, 2024
1 parent a988ca1 commit 03c450b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions route/route_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ func (i *ObRouteInfo) getTableWithRetry(ctx context.Context, server *ObServerAdd
for {
select {
case <-ctx.Done():
err := i.refreshTableLocations(&server.tcpAddr)
log.Warn("[Runtime]", nil, "get table fail and try to refresh table location ",
log.String("server", server.String()), log.String("err", err.Error()))
i.refreshTableLocations(&server.tcpAddr)
log.Warn("[Runtime]", nil, "get table fail and fail to refresh table location ",
log.String("server", server.String()))
return nil, errors.Errorf("get table, server:%s", server.String())
default:
t, ok = i.tableRoster.Get(server.tcpAddr)
Expand Down

0 comments on commit 03c450b

Please sign in to comment.