Skip to content

Commit

Permalink
enhance: Avoid search querynode return nil status in response (#34100)
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
  • Loading branch information
weiliu1031 authored Jun 26, 2024
1 parent a933f67 commit 4520342
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/querynodev2/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,7 @@ func (node *QueryNode) Search(ctx context.Context, req *querypb.SearchRequest) (
resp.Status = merr.Status(err2)
return resp, nil
}
result.Status = merr.Success()

reduceLatency := tr.RecordSpan()
metrics.QueryNodeReduceLatency.
Expand Down

0 comments on commit 4520342

Please sign in to comment.