Skip to content

Commit

Permalink
enhance: Refine the error msg for filter node (milvus-io#38278)
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <[email protected]>
  • Loading branch information
weiliu1031 authored Dec 6, 2024
1 parent 2035575 commit 28c5189
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/querynodev2/pipeline/filter_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ func (fNode *filterNode) filtrate(c *Collection, msg msgstream.TsMsg) error {
// check segment whether excluded
ok := fNode.delegator.VerifyExcludedSegments(insertMsg.SegmentID, insertMsg.EndTimestamp)
if !ok {
m := fmt.Sprintf("Segment excluded, id: %d", insertMsg.GetSegmentID())
return merr.WrapErrSegmentLack(insertMsg.GetSegmentID(), m)
m := fmt.Sprintf("skip msg due to segment=%d has been excluded", insertMsg.GetSegmentID())
return merr.WrapErrServiceInternal(m)
}
return nil

Expand Down

0 comments on commit 28c5189

Please sign in to comment.