mirror of https://github.com/milvus-io/milvus.git
Fix delete after create index (#12174)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/12194/head
parent
7a01d61a7a
commit
7a0d5ed6c4
|
@ -102,7 +102,7 @@ func (dNode *deleteNode) delete(deleteData *deleteData, segmentID UniqueID, wg *
|
|||
return
|
||||
}
|
||||
|
||||
if targetSegment.segmentType != segmentTypeSealed {
|
||||
if targetSegment.segmentType != segmentTypeSealed && targetSegment.segmentType != segmentTypeIndexing {
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -116,7 +116,7 @@ func (dNode *deleteNode) delete(deleteData *deleteData, segmentID UniqueID, wg *
|
|||
return
|
||||
}
|
||||
|
||||
log.Debug("Do delete done", zap.Int("len", len(deleteData.deleteIDs[segmentID])), zap.Int64("segmentID", segmentID))
|
||||
log.Debug("Do delete done", zap.Int("len", len(deleteData.deleteIDs[segmentID])), zap.Int64("segmentID", segmentID), zap.Any("SegmentType", targetSegment.segmentType))
|
||||
}
|
||||
|
||||
func newDeleteNode(historicalReplica ReplicaInterface) *deleteNode {
|
||||
|
|
Loading…
Reference in New Issue