mirror of https://github.com/milvus-io/milvus.git
fix: fix l0 compaction may miss some sealed segments (#33980)
issue: https://github.com/milvus-io/milvus/issues/33955 Signed-off-by: sunby <sunbingyi1992@gmail.com>pull/34067/head
parent
958ecd500b
commit
622be36ad7
|
@ -250,7 +250,7 @@ func (t *l0CompactionTask) BuildCompactionRequest() (*datapb.CompactionPlan, err
|
|||
//!info.isCompacting &&
|
||||
!info.GetIsImporting() &&
|
||||
info.GetLevel() != datapb.SegmentLevel_L0 &&
|
||||
info.GetDmlPosition().GetTimestamp() < t.GetPos().GetTimestamp()
|
||||
info.GetStartPosition().GetTimestamp() < t.GetPos().GetTimestamp()
|
||||
}))
|
||||
|
||||
if len(sealedSegments) == 0 {
|
||||
|
|
Loading…
Reference in New Issue