Skip to content

Commit

Permalink
fix: datacoord binlog size metrics include dropped segment (milvus-io…
Browse files Browse the repository at this point in the history
…#35338)

issue: milvus-io#35337

Signed-off-by: Wei Liu <[email protected]>
  • Loading branch information
weiliu1031 authored Aug 7, 2024
1 parent c6253f9 commit 838f063
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/datacoord/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 838f063

Please sign in to comment.