mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
connect traceID for retrieve (#27804)
/kind improvement Signed-off-by: MrPresent-Han <chun.han@zilliz.com>
This commit is contained in:
parent
020ad9a6bc
commit
af61a80f73
@ -366,7 +366,7 @@ func (s *LocalSegment) Retrieve(ctx context.Context, plan *RetrievePlan) (*segco
|
||||
return nil, merr.WrapErrSegmentNotLoaded(s.segmentID, "segment released")
|
||||
}
|
||||
|
||||
log := log.With(
|
||||
log := log.Ctx(ctx).With(
|
||||
zap.Int64("collectionID", s.Collection()),
|
||||
zap.Int64("partitionID", s.Partition()),
|
||||
zap.Int64("segmentID", s.ID()),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user