mirror of https://github.com/milvus-io/milvus.git
fix: temporarily disable two-phase retrieval when lru is enabled (#32927)
issue: #31822 Signed-off-by: longjiquan <jiquan.long@zilliz.com>pull/32935/head
parent
e776c807c4
commit
0783582e2e
|
@ -47,7 +47,9 @@ func retrieveOnSegments(ctx context.Context, mgr *Manager, segments []Segment, s
|
|||
}
|
||||
resultCh := make(chan segmentResult, len(segments))
|
||||
|
||||
plan.ignoreNonPk = len(segments) > 1 && req.GetReq().GetLimit() != typeutil.Unlimited && plan.ShouldIgnoreNonPk()
|
||||
// TODO(longjiquan): remove this limit after two-phase retrieval can be applied on lru-segment.
|
||||
plan.ignoreNonPk = !paramtable.Get().QueryNodeCfg.UseStreamComputing.GetAsBool() &&
|
||||
len(segments) > 1 && req.GetReq().GetLimit() != typeutil.Unlimited && plan.ShouldIgnoreNonPk()
|
||||
|
||||
label := metrics.SealedSegmentLabel
|
||||
if segType == commonpb.SegmentState_Growing {
|
||||
|
|
Loading…
Reference in New Issue