mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Remove some logs in querynode delegator (#27156)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
This commit is contained in:
parent
4f6122dd4a
commit
e51cb739eb
@ -355,7 +355,7 @@ func (sd *shardDelegator) LoadSegments(ctx context.Context, req *querypb.LoadSeg
|
|||||||
}
|
}
|
||||||
|
|
||||||
req.Base.TargetID = req.GetDstNodeID()
|
req.Base.TargetID = req.GetDstNodeID()
|
||||||
log.Info("worker loads segments...")
|
log.Debug("worker loads segments...")
|
||||||
|
|
||||||
sLoad := func(ctx context.Context, req *querypb.LoadSegmentsRequest) error {
|
sLoad := func(ctx context.Context, req *querypb.LoadSegmentsRequest) error {
|
||||||
segmentID := req.GetInfos()[0].GetSegmentID()
|
segmentID := req.GetInfos()[0].GetSegmentID()
|
||||||
@ -392,7 +392,7 @@ func (sd *shardDelegator) LoadSegments(ctx context.Context, req *querypb.LoadSeg
|
|||||||
log.Warn("worker failed to load segments", zap.Error(err))
|
log.Warn("worker failed to load segments", zap.Error(err))
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
log.Info("work loads segments done")
|
log.Debug("work loads segments done")
|
||||||
|
|
||||||
// load index need no stream delete and distribution change
|
// load index need no stream delete and distribution change
|
||||||
if req.GetLoadScope() == querypb.LoadScope_Index {
|
if req.GetLoadScope() == querypb.LoadScope_Index {
|
||||||
@ -407,7 +407,7 @@ func (sd *shardDelegator) LoadSegments(ctx context.Context, req *querypb.LoadSeg
|
|||||||
Version: req.GetVersion(),
|
Version: req.GetVersion(),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
log.Info("load delete...")
|
log.Debug("load delete...")
|
||||||
err = sd.loadStreamDelete(ctx, candidates, infos, req.GetDeltaPositions(), targetNodeID, worker, entries)
|
err = sd.loadStreamDelete(ctx, candidates, infos, req.GetDeltaPositions(), targetNodeID, worker, entries)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warn("load stream delete failed", zap.Error(err))
|
log.Warn("load stream delete failed", zap.Error(err))
|
||||||
|
|||||||
@ -87,7 +87,7 @@ func (w *LocalWorker) Delete(ctx context.Context, req *querypb.DeleteRequest) er
|
|||||||
zap.Int64("collectionID", req.GetCollectionId()),
|
zap.Int64("collectionID", req.GetCollectionId()),
|
||||||
zap.Int64("segmentID", req.GetSegmentId()),
|
zap.Int64("segmentID", req.GetSegmentId()),
|
||||||
)
|
)
|
||||||
log.Info("start to process segment delete")
|
log.Debug("start to process segment delete")
|
||||||
status, err := w.node.Delete(ctx, req)
|
status, err := w.node.Delete(ctx, req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user