mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
remove segment from datanode meta when segment dropped (#23398)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
This commit is contained in:
parent
7ff6a3a246
commit
f603456b72
@ -854,7 +854,9 @@ func flushNotifyFunc(dsService *dataSyncService, opts ...retry.Option) notifyMet
|
||||
// TODO change to graceful stop
|
||||
panic(err)
|
||||
}
|
||||
if pack.flushed || pack.dropped {
|
||||
if pack.dropped {
|
||||
dsService.channel.removeSegments(pack.segmentID)
|
||||
} else if pack.flushed {
|
||||
dsService.channel.segmentFlushed(pack.segmentID)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user