@@ -291,9 +291,13 @@ func (w *watchDmChannelsTask) Execute(ctx context.Context) (err error) {
291291 }
292292 }
293293 w .node .metaReplica .addExcludedSegments (collectionID , flushedCheckPointInfos )
294+ flushedSegmentIDs := make ([]UniqueID , 0 )
295+ for i := 0 ; i < len (flushedCheckPointInfos ); i ++ {
296+ flushedSegmentIDs = append (flushedSegmentIDs , flushedCheckPointInfos [i ].GetID ())
297+ }
294298 log .Info ("watchDMChannel, add check points info for flushed segments done" ,
295299 zap .Int64 ("collectionID" , collectionID ),
296- zap .Any ("flushedCheckPointInfos " , flushedCheckPointInfos ),
300+ zap .Any ("flushedSegmentIDs " , flushedSegmentIDs ),
297301 )
298302
299303 // add excluded segments for dropped segments,
@@ -312,9 +316,13 @@ func (w *watchDmChannelsTask) Execute(ctx context.Context) (err error) {
312316 }
313317 }
314318 w .node .metaReplica .addExcludedSegments (collectionID , droppedCheckPointInfos )
319+ droppedSegmentIDs := make ([]UniqueID , 0 )
320+ for i := 0 ; i < len (droppedCheckPointInfos ); i ++ {
321+ droppedSegmentIDs = append (droppedSegmentIDs , droppedCheckPointInfos [i ].GetID ())
322+ }
315323 log .Info ("watchDMChannel, add check points info for dropped segments done" ,
316324 zap .Int64 ("collectionID" , collectionID ),
317- zap .Any ("droppedCheckPointInfos " , droppedCheckPointInfos ),
325+ zap .Any ("droppedSegmentIDs " , droppedSegmentIDs ),
318326 )
319327
320328 // add flow graph
0 commit comments