mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
enhance: Set delete scope for LoadSegment streaming data (#30245)
See also #29474 --------- Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
0c7a96b48d
commit
7c086a4608
@ -617,6 +617,7 @@ func (sd *shardDelegator) loadStreamDelete(ctx context.Context,
|
|||||||
SegmentId: info.GetSegmentID(),
|
SegmentId: info.GetSegmentID(),
|
||||||
PrimaryKeys: storage.ParsePrimaryKeys2IDs(deleteData.Pks),
|
PrimaryKeys: storage.ParsePrimaryKeys2IDs(deleteData.Pks),
|
||||||
Timestamps: deleteData.Tss,
|
Timestamps: deleteData.Tss,
|
||||||
|
Scope: querypb.DataScope_Historical, // only sealed segment need to loadStreamDelete
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warn("failed to apply delete when LoadSegment", zap.Error(err))
|
log.Warn("failed to apply delete when LoadSegment", zap.Error(err))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user