未验证 提交 f603456b 编写于 作者: A aoiasd 提交者: GitHub

remove segment from datanode meta when segment dropped (#23398)

Signed-off-by: Naoiasd <zhicheng.yue@zilliz.com>
上级 7ff6a3a2
......@@ -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)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册