Remove some logs in querynode delegator (#27156)

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
This commit is contained in:
Xiaofan 2023-09-18 10:57:20 +08:00 committed by GitHub
parent 4f6122dd4a
commit e51cb739eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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))

View File

@ -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