未验证 提交 f9495fef 编写于 作者: T Ten Thousand Leaves 提交者: GitHub

Minor fix on segment metric (#21976)

/kind improvement
Signed-off-by: NYuchen Gao <yuchen.gao@zilliz.com>
上级 5316743a
......@@ -604,11 +604,11 @@ func (m *meta) UpdateDropChannelSegmentInfo(channel string, segments []*SegmentI
log.Error("meta update: update drop channel segment info failed",
zap.String("channel", channel),
zap.Error(err))
// Apply segment metric mutation on successful meta update.
metricMutation.commit()
} else {
log.Info("meta update: update drop channel segment info - complete",
zap.String("channel", channel))
// Apply segment metric mutation on successful meta update.
metricMutation.commit()
}
return err
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册