mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
enhance: Fix lb policy retry log after targetNode type changed (#37646)
Related to previous pr: #37371 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
af433ffd68
commit
e7fb87d491
@ -200,7 +200,7 @@ func (lb *LBPolicyImpl) ExecuteWithRetry(ctx context.Context, workload ChannelWo
|
||||
zap.Error(err))
|
||||
excludeNodes.Insert(targetNode.nodeID)
|
||||
|
||||
lastErr = errors.Wrapf(err, "failed to get delegator %d for channel %s", targetNode, workload.channel)
|
||||
lastErr = errors.Wrapf(err, "failed to get delegator %d for channel %s", targetNode.nodeID, workload.channel)
|
||||
return lastErr
|
||||
}
|
||||
defer lb.clientMgr.ReleaseClientRef(targetNode.nodeID)
|
||||
@ -213,7 +213,7 @@ func (lb *LBPolicyImpl) ExecuteWithRetry(ctx context.Context, workload ChannelWo
|
||||
zap.Int64("nodeID", targetNode.nodeID),
|
||||
zap.Error(err))
|
||||
excludeNodes.Insert(targetNode.nodeID)
|
||||
lastErr = errors.Wrapf(err, "failed to search/query delegator %d for channel %s", targetNode, workload.channel)
|
||||
lastErr = errors.Wrapf(err, "failed to search/query delegator %d for channel %s", targetNode.nodeID, workload.channel)
|
||||
return lastErr
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user