mirror of https://github.com/milvus-io/milvus.git
fix: Fix compile error (#35901)
/kind improvement Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/35905/head
parent
2c9bb4dfa3
commit
6fd33285e1
|
@ -36,7 +36,7 @@ func mergeSortMultipleSegments(ctx context.Context,
|
|||
|
||||
log := log.With(zap.Int64("planID", plan.GetPlanID()))
|
||||
|
||||
segIDAlloc := allocator.NewLocalAllocator(plan.GetPreAllocatedSegments().GetBegin(), plan.GetPreAllocatedSegments().GetEnd())
|
||||
segIDAlloc := allocator.NewLocalAllocator(plan.GetPreAllocatedSegmentIDs().GetBegin(), plan.GetPreAllocatedSegmentIDs().GetEnd())
|
||||
logIDAlloc := allocator.NewLocalAllocator(plan.GetBeginLogID(), math.MaxInt64)
|
||||
compAlloc := NewCompactionAllocator(segIDAlloc, logIDAlloc)
|
||||
mWriter := NewMultiSegmentWriter(binlogIO, compAlloc, plan, maxRows, partitionID, collectionID)
|
||||
|
|
Loading…
Reference in New Issue