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

Minor fix on segment metric (#21977)

/kind improvement
Signed-off-by: NYuchen Gao <yuchen.gao@zilliz.com>
上级 69d9f287
......@@ -571,11 +571,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.
先完成此消息的编辑!
想要评论请 注册