From bd29518b6ea2fee0fc6c663270e17a00d934f91c Mon Sep 17 00:00:00 2001 From: congqixia Date: Fri, 22 Apr 2022 13:11:42 +0800 Subject: [PATCH] Remove debug log with no meaning (#16583) Signed-off-by: Congqi Xia --- internal/querynode/shard_node_detector.go | 1 - internal/querynode/shard_segment_detector.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/querynode/shard_node_detector.go b/internal/querynode/shard_node_detector.go index 41856f81ef..d9826fbd52 100644 --- a/internal/querynode/shard_node_detector.go +++ b/internal/querynode/shard_node_detector.go @@ -163,7 +163,6 @@ func (nd *etcdShardNodeDetector) handlePutEvent(e *clientv3.Event, collectionID, return } if info.CollectionID != collectionID || info.ReplicaID != replicaID { - log.Warn("here") return } if e.PrevKv != nil { diff --git a/internal/querynode/shard_segment_detector.go b/internal/querynode/shard_segment_detector.go index 261fce43c9..562c57a238 100644 --- a/internal/querynode/shard_segment_detector.go +++ b/internal/querynode/shard_segment_detector.go @@ -132,7 +132,6 @@ func (sd *etcdShardSegmentDetector) watch(ch clientv3.WatchChan, collectionID in } } for _, e := range evt.Events { - log.Debug("segment evt", zap.Any("evt", evt)) switch e.Type { case mvccpb.PUT: sd.handlePutEvent(e, collectionID, replicaID, vchannel)