Skip to content

Commit

Permalink
enhance: Reduce the frequency of logs describing indexing failures (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaocai2333 authored May 21, 2024
1 parent 12e8c6c commit ed39a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/datacoord/index_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ func (s *Server) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRe
indexes := s.meta.indexMeta.GetIndexesForCollection(req.GetCollectionID(), req.GetIndexName())
if len(indexes) == 0 {
err := merr.WrapErrIndexNotFound(req.GetIndexName())
log.Warn("DescribeIndex fail", zap.Error(err))
log.RatedWarn(60, "DescribeIndex fail", zap.Error(err))
return &indexpb.DescribeIndexResponse{
Status: merr.Status(err),
}, nil
Expand Down

0 comments on commit ed39a38

Please sign in to comment.