mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
enhance: Correct misleading nodeID in GetComponentStates's log (#30732)
pr: #30731 This PR corrects the misleading nodeId in GetComponentStates's log Signed-off-by: Wei Liu <wei.liu@zilliz.com>
This commit is contained in:
parent
1c8d9fa686
commit
ee705b7ce8
@ -66,6 +66,8 @@ func (node *QueryNode) GetComponentStates(ctx context.Context, req *milvuspb.Get
|
||||
if node.session != nil && node.session.Registered() {
|
||||
nodeID = paramtable.GetNodeID()
|
||||
}
|
||||
log.Debug("QueryNode current state", zap.Int64("NodeID", nodeID), zap.String("StateCode", code.String()))
|
||||
|
||||
info := &milvuspb.ComponentInfo{
|
||||
NodeID: nodeID,
|
||||
Role: typeutil.QueryNodeRole,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user