mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
enhance: Add log for case which target not update as expected (#38944)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
This commit is contained in:
parent
c5a7000a92
commit
47e7ea241e
@ -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))
|
||||
info := nodeMgr.Get(leader.ID)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user