prometheus/storage
Brian Brazil 78efdc6d6b
Avoid infinite loop on duplicate NaN values. (#4275)
Fixes #4254

NaNs don't equal themselves, so a duplicate NaN would
always hit the break statement and never get popped.

We should not be returning multiple data point for the same
timestamp, so don't compare values at all.

Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
2018-06-18 17:34:08 +01:00
..
remote Add queue name to logger for remote writes 2018-06-01 13:04:00 +00:00
tsdb all: remove unnecessary type conversions (#3992) 2018-03-21 09:25:22 +00:00
buffer.go Optimise PromQL (#3966) 2018-06-04 15:47:45 +02:00
buffer_test.go Correctly handle pruning wraparound after ring expansion (#3942) 2018-03-12 13:16:59 +00:00
fanout.go Avoid infinite loop on duplicate NaN values. (#4275) 2018-06-18 17:34:08 +01:00
fanout_test.go Avoid infinite loop on duplicate NaN values. (#4275) 2018-06-18 17:34:08 +01:00
interface.go *: implement query params 2018-02-13 12:17:22 +01:00
noop.go *: implement query params 2018-02-13 12:17:22 +01:00