mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e] Remove commented unused code (#13843)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
6f63635686
commit
0b2c0fb261
@ -364,17 +364,6 @@ func (s *Server) SaveBinlogPaths(ctx context.Context, req *datapb.SaveBinlogPath
|
||||
log.Debug("flush segment with meta", zap.Int64("id", req.SegmentID),
|
||||
zap.Any("meta", req.GetField2BinlogPaths()))
|
||||
|
||||
// Drop logic handler in DropVirtualChannel
|
||||
/*
|
||||
if req.GetDropped() && s.handler.CheckShouldDropChannel(channel) {
|
||||
log.Debug("remove channel", zap.String("channel", channel))
|
||||
err = s.channelManager.RemoveChannel(channel)
|
||||
if err != nil {
|
||||
log.Warn("failed to remove channel", zap.String("channel", channel), zap.Error(err))
|
||||
}
|
||||
s.segmentManager.DropSegmentsOfChannel(ctx, channel)
|
||||
}*/
|
||||
|
||||
if req.GetFlushed() {
|
||||
s.segmentManager.DropSegment(ctx, req.SegmentID)
|
||||
s.flushCh <- req.SegmentID
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user