Skip to content

Commit

Permalink
enhance: [10ckp] Add log for case which target not update as expected (
Browse files Browse the repository at this point in the history
…#38952)

pr: #38944

Signed-off-by: bigsheeper <[email protected]>
Co-authored-by: Wei Liu <[email protected]>
  • Loading branch information
bigsheeper and weiliu1031 authored Jan 2, 2025
1 parent 734a20a commit b6c18f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/querycoordv2/utils/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func CheckNodeAvailable(nodeID int64, info *session.NodeInfo) error {
// 4. All segments of the shard in target should be in the distribution
func CheckDelegatorDataReady(nodeMgr *session.NodeManager, targetMgr meta.TargetManagerInterface, leader *meta.LeaderView, scope int32) error {
log := log.Ctx(context.TODO()).
WithRateGroup("utils.CheckLeaderAvailable", 1, 60).
WithRateGroup(fmt.Sprintf("util.CheckDelegatorDataReady-%d", leader.CollectionID), 1, 60).
With(zap.Int64("leaderID", leader.ID), zap.Int64("collectionID", leader.CollectionID))
info := nodeMgr.Get(leader.ID)

Expand Down

0 comments on commit b6c18f7

Please sign in to comment.