fix: Fill shardClientMgr field for queryTask to prevent panic (#46837)

issue: #46836

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2026-01-06 23:07:24 +08:00 committed by GitHub
parent 746c8653cc
commit 63026e6791
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -217,10 +217,11 @@ func retrieveByPKs(ctx context.Context, t *upsertTask, ids *schemapb.IDs, output
PartitionIDs: partitionIDs,
ConsistencyLevel: commonpb.ConsistencyLevel_Strong,
},
request: queryReq,
plan: plan,
mixCoord: t.node.(*Proxy).mixCoord,
lb: t.node.(*Proxy).lbPolicy,
request: queryReq,
plan: plan,
mixCoord: t.node.(*Proxy).mixCoord,
lb: t.node.(*Proxy).lbPolicy,
shardclientMgr: t.node.(*Proxy).shardMgr,
}
ctx, sp := otel.Tracer(typeutil.ProxyRole).Start(ctx, "Proxy-Upsert-retrieveByPKs")