mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
fix: datacoord binlog size metrics include dropped segment (#35338)
issue: #35337 Signed-off-by: Wei Liu <wei.liu@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user