mirror of https://github.com/milvus-io/milvus.git
fix: datacoord binlog size metrics include dropped segment (#35338)
issue: #35337 Signed-off-by: Wei Liu <wei.liu@zilliz.com>pull/35353/head
parent
c6253f9c9b
commit
838f06323f
|
@ -396,6 +396,7 @@ func (m *meta) GetQuotaInfo() *metricsinfo.DataCoordQuotaMetrics {
|
|||
|
||||
segments := m.segments.GetSegments()
|
||||
var total int64
|
||||
metrics.DataCoordStoredBinlogSize.Reset()
|
||||
for _, segment := range segments {
|
||||
segmentSize := segment.getSegmentSize()
|
||||
if isSegmentHealthy(segment) && !segment.GetIsImporting() {
|
||||
|
|
Loading…
Reference in New Issue