mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
fix ingesting stale point, follow up fe8cc573d1
(#5179)
This commit is contained in:
parent
7abdbbc8e2
commit
8b6ccad41d
1 changed files with 1 additions and 1 deletions
|
@ -1720,7 +1720,7 @@ func (s *Storage) add(rows []rawRow, dstMrs []*MetricRow, mrs []MetricRow, preci
|
|||
for i := range mrs {
|
||||
mr := &mrs[i]
|
||||
if math.IsNaN(mr.Value) {
|
||||
if decimal.IsStaleNaN(mr.Value) {
|
||||
if !decimal.IsStaleNaN(mr.Value) {
|
||||
// Skip NaNs other than Prometheus staleness marker, since the underlying encoding
|
||||
// doesn't know how to work with them.
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue