Skip to content

Commit

Permalink
Update server/region_syncer/client.go
Browse files Browse the repository at this point in the history
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
2 people authored and ti-chi-bot committed Oct 19, 2021
1 parent 357f886 commit 24b9ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/region_syncer/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (s *RegionSyncer) StartSyncWithLeader(addr string) {
log.Info("region syncer start load region")
start := time.Now()
err := storage.LoadRegionsOnce(ctx, bc.CheckAndPutRegion)
log.Info("region syncer finished load region", zap.Duration("time_cost", time.Since(start)))
log.Info("region syncer finished load region", zap.Duration("time-cost", time.Since(start)))
if err != nil {
log.Warn("failed to load regions.", errs.ZapError(err))
}
Expand Down

0 comments on commit 24b9ea7

Please sign in to comment.