mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix metric with wrong label (#21108)
/kind improvement Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com> Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
This commit is contained in:
parent
d326c385bb
commit
699b63fb42
@ -633,7 +633,7 @@ func (replica *metaReplica) addSegmentPrivate(segment *Segment) error {
|
||||
fmt.Sprint(paramtable.GetNodeID()),
|
||||
fmt.Sprint(segment.collectionID),
|
||||
fmt.Sprint(segment.partitionID),
|
||||
string(segType),
|
||||
segType.String(),
|
||||
).Add(float64(rowCount))
|
||||
}
|
||||
return nil
|
||||
@ -741,7 +741,7 @@ func (replica *metaReplica) removeSegmentPrivate(segmentID UniqueID, segType seg
|
||||
fmt.Sprint(paramtable.GetNodeID()),
|
||||
fmt.Sprint(segment.collectionID),
|
||||
fmt.Sprint(segment.partitionID),
|
||||
string(segType),
|
||||
segType.String(),
|
||||
).Sub(float64(rowCount))
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user