mirror of https://github.com/milvus-io/milvus.git
connect traceID for retrieve (#27804)
/kind improvement Signed-off-by: MrPresent-Han <chun.han@zilliz.com>pull/27810/head
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…
Reference in New Issue