mirror of https://github.com/milvus-io/milvus.git
fix: Remove not needed `BlockAll` call in `SyncSegments` (#28632)
See also #28628 Previous compaction task blocked the segment sync task and may block the flowgraph when sync task is generated by auto sync policy This `BlockAll` call will block forever and cause whole fg stuck Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/28623/head
parent
ca42cbdad1
commit
af18aa709b
|
@ -325,8 +325,6 @@ func (node *DataNode) SyncSegments(ctx context.Context, req *datapb.SyncSegments
|
|||
return merr.Status(err), nil
|
||||
}
|
||||
bfs := metacache.NewBloomFilterSet(pks...)
|
||||
ds.fg.Blockall()
|
||||
defer ds.fg.Unblock()
|
||||
ds.metacache.CompactSegments(req.GetCompactedTo(), req.GetPartitionId(), req.GetNumOfRows(), bfs, req.GetCompactedFrom()...)
|
||||
node.compactionExecutor.injectDone(req.GetPlanID(), true)
|
||||
return merr.Success(), nil
|
||||
|
|
Loading…
Reference in New Issue