mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Signed-off-by: kejiang <ke.jiang@zilliz.com> Co-authored-by: kejiang <ke.jiang@zilliz.com>
This commit is contained in:
parent
b4f21259ef
commit
6cb00aa5bb
@ -291,9 +291,13 @@ func (w *watchDmChannelsTask) Execute(ctx context.Context) (err error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
w.node.metaReplica.addExcludedSegments(collectionID, flushedCheckPointInfos)
|
w.node.metaReplica.addExcludedSegments(collectionID, flushedCheckPointInfos)
|
||||||
|
flushedSegmentIDs := make([]UniqueID, 0)
|
||||||
|
for i := 0; i < len(flushedCheckPointInfos); i++ {
|
||||||
|
flushedSegmentIDs = append(flushedSegmentIDs, flushedCheckPointInfos[i].GetID())
|
||||||
|
}
|
||||||
log.Info("watchDMChannel, add check points info for flushed segments done",
|
log.Info("watchDMChannel, add check points info for flushed segments done",
|
||||||
zap.Int64("collectionID", collectionID),
|
zap.Int64("collectionID", collectionID),
|
||||||
zap.Any("flushedCheckPointInfos", flushedCheckPointInfos),
|
zap.Any("flushedSegmentIDs", flushedSegmentIDs),
|
||||||
)
|
)
|
||||||
|
|
||||||
// add excluded segments for dropped segments,
|
// add excluded segments for dropped segments,
|
||||||
@ -312,9 +316,13 @@ func (w *watchDmChannelsTask) Execute(ctx context.Context) (err error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
w.node.metaReplica.addExcludedSegments(collectionID, droppedCheckPointInfos)
|
w.node.metaReplica.addExcludedSegments(collectionID, droppedCheckPointInfos)
|
||||||
|
droppedSegmentIDs := make([]UniqueID, 0)
|
||||||
|
for i := 0; i < len(droppedCheckPointInfos); i++ {
|
||||||
|
droppedSegmentIDs = append(droppedSegmentIDs, droppedCheckPointInfos[i].GetID())
|
||||||
|
}
|
||||||
log.Info("watchDMChannel, add check points info for dropped segments done",
|
log.Info("watchDMChannel, add check points info for dropped segments done",
|
||||||
zap.Int64("collectionID", collectionID),
|
zap.Int64("collectionID", collectionID),
|
||||||
zap.Any("droppedCheckPointInfos", droppedCheckPointInfos),
|
zap.Any("droppedSegmentIDs", droppedSegmentIDs),
|
||||||
)
|
)
|
||||||
|
|
||||||
// add flow graph
|
// add flow graph
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user