Skip to content

Commit

Permalink
change log level
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <admin@liudos.us>
  • Loading branch information
lhy1024 committed Dec 19, 2024
1 parent fd4ca5e commit 68993a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/schedule/schedulers/grant_hot_region.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func (s *grantHotRegionScheduler) transfer(cluster sche.SchedulerCluster, region
op, err = operator.CreateMovePeerOperator(s.GetName()+"-move", cluster, srcRegion, operator.OpRegion|operator.OpLeader, srcStore.GetID(), dstStore)
}
if err != nil {
log.Error("fail to create grant hot leader operator", errs.ZapError(err))
log.Debug("fail to create grant hot leader operator", errs.ZapError(err))
return
}
op.SetPriorityLevel(constant.High)
Expand Down
2 changes: 1 addition & 1 deletion pkg/schedule/schedulers/hot_region.go
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ func (bs *balanceSolver) splitBucketsOperator(region *core.RegionInfo, keys [][]

op, err := operator.CreateSplitRegionOperator(desc, region, operator.OpSplit, pdpb.CheckPolicy_USEKEY, splitKeys)
if err != nil {
log.Error("fail to create split operator",
log.Debug("fail to create split operator",
zap.Stringer("resource-type", bs.resourceTy),
errs.ZapError(err))
return nil
Expand Down

0 comments on commit 68993a3

Please sign in to comment.